- e.key === 'Enter' && titleInput.blur()}
- on:blur={handleUpdateName}
- class="w-[99%] mb-2 border-b-2 border-transparent text-6xl text-immich-primary outline-none transition-all dark:text-immich-dark-primary {isOwned
- ? 'hover:border-gray-400'
- : 'hover:border-transparent'} bg-immich-bg focus:border-b-2 focus:border-immich-primary focus:outline-none dark:bg-immich-dark-bg dark:focus:border-immich-dark-primary dark:focus:bg-immich-dark-gray"
- type="text"
- bind:value={album.albumName}
- disabled={!isOwned}
- bind:this={titleInput}
- title="Edit Title"
- placeholder="Add a title"
- />
-
-
- {#if album.assetCount > 0}
-
- {getDateRange()}
- ·
- {album.assetCount} items
-
- {/if}
-
-
- {#if album.sharedUsers.length > 0 || (album.hasSharedLink && isOwned)}
-
-
- {#if album.hasSharedLink && isOwned}
- (viewMode = ViewMode.LINK_SHARING)}
- />
- {/if}
-
-
-
-
-
- {#each album.sharedUsers as user (user.id)}
-
- {/each}
-
- {#if isOwned}
- (viewMode = ViewMode.SELECT_USERS)}
- title="Add more users"
- />
- {/if}
-
- {/if}
-
- {#if isOwned}
-
- {/if}
-
- {#if album.assetCount === 0}
-