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} diff --git a/web/src/lib/components/asset-viewer/detail-panel.svelte b/web/src/lib/components/asset-viewer/detail-panel.svelte index 25fb61a30e..393ec01c0b 100644 --- a/web/src/lib/components/asset-viewer/detail-panel.svelte +++ b/web/src/lib/components/asset-viewer/detail-panel.svelte @@ -214,7 +214,7 @@ {/if} - {#if isOwner || description !== ''} + {#if isOwner}
{#key asset.id}