mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
fix(web) add disable property to generated shared link (#1287)
This commit is contained in:
parent
acffabf9de
commit
2ffb7cab2e
@ -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');
|
||||
}
|
||||
|
@ -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()}
|
||||
|
Loading…
Reference in New Issue
Block a user