mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	fix(web) add disable property to generated shared link (#1287)
This commit is contained in:
		| @@ -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()} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user