mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(web): Share button visible when viewing album has only shared link (#8100)
This commit is contained in:
parent
0d5584ecbb
commit
0b078c9f99
@ -148,7 +148,7 @@
|
|||||||
|
|
||||||
backUrl = url || AppRoute.ALBUMS;
|
backUrl = url || AppRoute.ALBUMS;
|
||||||
|
|
||||||
if (backUrl === AppRoute.SHARING && album.sharedUsers.length === 0) {
|
if (backUrl === AppRoute.SHARING && album.sharedUsers.length === 0 && !album.hasSharedLink) {
|
||||||
isCreatingSharedAlbum = true;
|
isCreatingSharedAlbum = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user