share: disable links for albums
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/877/head
parent
afaebe6106
commit
728efeaa6a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue