Skip to content

Commit

Permalink
fix(web): Share button visible when viewing album has only shared link (
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 committed Mar 20, 2024
1 parent 0d5584e commit 0b078c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/(user)/albums/[albumId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
Expand Down

0 comments on commit 0b078c9

Please sign in to comment.