fix: album title state weirdness (#12874)

This commit is contained in:
Daniel Dietzler
2024-09-24 17:13:37 +02:00
committed by GitHub
parent af8f3774d0
commit b45fce8ddf
2 changed files with 10 additions and 4 deletions

View File

@@ -589,7 +589,12 @@
{#if viewMode !== ViewMode.SELECT_THUMBNAIL}
<!-- ALBUM TITLE -->
<section class="pt-8 md:pt-24">
<AlbumTitle id={album.id} bind:albumName={album.albumName} {isOwned} />
<AlbumTitle
id={album.id}
albumName={album.albumName}
{isOwned}
onUpdate={(albumName) => (album.albumName = albumName)}
/>
{#if album.assetCount > 0}
<AlbumSummary {album} />