Skip to content

Commit 0b078c9

Browse files
authored
fix(web): Share button visible when viewing album has only shared link (#8100)
1 parent 0d5584e commit 0b078c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/routes/(user)/albums/[albumId]/+page.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
149149
backUrl = url || AppRoute.ALBUMS;
150150
151-
if (backUrl === AppRoute.SHARING && album.sharedUsers.length === 0) {
151+
if (backUrl === AppRoute.SHARING && album.sharedUsers.length === 0 && !album.hasSharedLink) {
152152
isCreatingSharedAlbum = true;
153153
}
154154
});

0 commit comments

Comments
 (0)