1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(web): Share button visible when viewing album has only shared link (#8100)

This commit is contained in:
Alex 2024-03-20 09:46:31 -05:00 committed by GitHub
parent 0d5584ecbb
commit 0b078c9f99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,7 +148,7 @@
backUrl = url || AppRoute.ALBUMS;
if (backUrl === AppRoute.SHARING && album.sharedUsers.length === 0) {
if (backUrl === AppRoute.SHARING && album.sharedUsers.length === 0 && !album.hasSharedLink) {
isCreatingSharedAlbum = true;
}
});