share: disable links for albums

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/877/head
Varun Patil 2023-10-16 18:48:17 -07:00
parent afaebe6106
commit 728efeaa6a
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ export default defineComponent({
},
canShareLink(): boolean {
return !!this.photo?.imageInfo?.permissions?.includes('S');
return !!this.photo?.imageInfo?.permissions?.includes('S') && !this.routeIsAlbums;
},
isLocal(): boolean {