1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-24 10:37:28 +02:00

fix(web) add disable property to generated shared link (#1287)

This commit is contained in:
Alex 2023-01-10 10:34:16 -06:00 committed by GitHub
parent acffabf9de
commit 2ffb7cab2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,6 @@ export class ShareCore {
async getSharedLinkById(id: string): Promise<SharedLinkEntity> {
const link = await this.sharedLinkRepository.getById(id);
console.log(link);
if (!link) {
throw new BadRequestException('Shared link not found');
}

View File

@ -226,7 +226,7 @@
{#if isShowSharedLink}
<div class="flex w-full gap-4">
<input class="immich-form-input w-full" bind:value={sharedLink} />
<input class="immich-form-input w-full" bind:value={sharedLink} disabled />
<button
on:click={() => handleCopy()}