mirror of
https://github.com/immich-app/immich.git
synced 2025-12-02 16:39:56 +09:00
fix(web): Share button visible when viewing album has only shared link (#8100)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user