From 728efeaa6a1b3d82a0f42b6185f96154e3f93f6b Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 16 Oct 2023 18:48:17 -0700 Subject: [PATCH] share: disable links for albums Signed-off-by: Varun Patil --- src/components/modal/ShareModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modal/ShareModal.vue b/src/components/modal/ShareModal.vue index cb380945..74d3c69e 100644 --- a/src/components/modal/ShareModal.vue +++ b/src/components/modal/ShareModal.vue @@ -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 {