From 84fe41df31ebb5899b9045915bb5b71733c0a556 Mon Sep 17 00:00:00 2001 From: martin <74269598+martabal@users.noreply.github.com> Date: Wed, 28 Feb 2024 22:39:53 +0100 Subject: [PATCH] fix(web): re-render albums (#7403) * fix: re-render albums * fix: album description * fix: reactivity * fix album reactivity + components for title and description * only update AssetGrid when albumId changes * remove title and description bindings * remove console.log * chore: fix merge * pr feedback * pr feedback --------- Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> --- .../album-page/album-description.svelte | 45 +++ .../components/album-page/album-title.svelte | 42 +++ .../settings/setting-switch.svelte | 4 +- .../(user)/albums/[albumId]/+page.svelte | 297 +++++++----------- 4 files changed, 209 insertions(+), 179 deletions(-) create mode 100644 web/src/lib/components/album-page/album-description.svelte create mode 100644 web/src/lib/components/album-page/album-title.svelte diff --git a/web/src/lib/components/album-page/album-description.svelte b/web/src/lib/components/album-page/album-description.svelte new file mode 100644 index 0000000000..9e988ba75e --- /dev/null +++ b/web/src/lib/components/album-page/album-description.svelte @@ -0,0 +1,45 @@ + + +{#if isOwned} +