From 234a95960b020d968db33850f4e6e52063168908 Mon Sep 17 00:00:00 2001 From: martin <74269598+martabal@users.noreply.github.com> Date: Tue, 23 Jan 2024 03:53:56 +0100 Subject: [PATCH] fix(web): revert descriptions (#6582) fix: revert descriptions --- .../components/album-page/album-viewer.svelte | 10 +++++--- .../asset-viewer/detail-panel.svelte | 4 +++- .../(user)/albums/[albumId]/+page.svelte | 23 +++++++++++-------- 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/web/src/lib/components/album-page/album-viewer.svelte b/web/src/lib/components/album-page/album-viewer.svelte index 50572ad05e..7feb3c7aa9 100644 --- a/web/src/lib/components/album-page/album-viewer.svelte +++ b/web/src/lib/components/album-page/album-viewer.svelte @@ -159,9 +159,13 @@ {/if} -
- {album.description} -
+ {#if album.description} ++ {album.description} +
+ {/if}{description}
{/if} {#if !api.isSharedLink && people.length > 0} diff --git a/web/src/routes/(user)/albums/[albumId]/+page.svelte b/web/src/routes/(user)/albums/[albumId]/+page.svelte index cc73680f08..9808474e0e 100644 --- a/web/src/routes/(user)/albums/[albumId]/+page.svelte +++ b/web/src/routes/(user)/albums/[albumId]/+page.svelte @@ -653,16 +653,19 @@ {/if} -