From 2ffb7cab2e813858f0c00fdc6f45ee40d093ee9c Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 10 Jan 2023 10:34:16 -0600 Subject: [PATCH] fix(web) add disable property to generated shared link (#1287) --- server/apps/immich/src/api-v1/share/share.core.ts | 1 - .../create-share-link-modal/create-shared-link-modal.svelte | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server/apps/immich/src/api-v1/share/share.core.ts b/server/apps/immich/src/api-v1/share/share.core.ts index 97828747cb..af14f41553 100644 --- a/server/apps/immich/src/api-v1/share/share.core.ts +++ b/server/apps/immich/src/api-v1/share/share.core.ts @@ -48,7 +48,6 @@ export class ShareCore { async getSharedLinkById(id: string): Promise { const link = await this.sharedLinkRepository.getById(id); - console.log(link); if (!link) { throw new BadRequestException('Shared link not found'); } diff --git a/web/src/lib/components/shared-components/create-share-link-modal/create-shared-link-modal.svelte b/web/src/lib/components/shared-components/create-share-link-modal/create-shared-link-modal.svelte index abf4e13672..c98d652447 100644 --- a/web/src/lib/components/shared-components/create-share-link-modal/create-shared-link-modal.svelte +++ b/web/src/lib/components/shared-components/create-share-link-modal/create-shared-link-modal.svelte @@ -226,7 +226,7 @@ {#if isShowSharedLink}
- +