diff --git a/frontend/src/lib/components/Pagebuilder/Pagebuilder.svelte b/frontend/src/lib/components/Pagebuilder/Pagebuilder.svelte index de574ae..c289e3b 100644 --- a/frontend/src/lib/components/Pagebuilder/Pagebuilder.svelte +++ b/frontend/src/lib/components/Pagebuilder/Pagebuilder.svelte @@ -26,7 +26,6 @@ export let i: number export let page: Page export let personPage: boolean - console.log("page", page, personPage) window.addEventListener("popstate", function (event) { $rerender = $rerender + 1 }) diff --git a/frontend/src/lib/components/Pagebuilder/Rows.svelte b/frontend/src/lib/components/Pagebuilder/Rows.svelte index cb5377a..ecfc412 100644 --- a/frontend/src/lib/components/Pagebuilder/Rows.svelte +++ b/frontend/src/lib/components/Pagebuilder/Rows.svelte @@ -62,14 +62,15 @@ ? 'margin-top: 0px; padding-top: 0px;' : ''}" > - {#if row.backgroundImage && mediaLibrary[row.backgroundImage]} + {#if row.backgroundImage && $mediaLibrary[row.backgroundImage]}
- img + >
{/if}
diff --git a/frontend/src/lib/components/widgets/iconBlock.svelte b/frontend/src/lib/components/widgets/iconBlock.svelte index 2f57701..5d918dd 100644 --- a/frontend/src/lib/components/widgets/iconBlock.svelte +++ b/frontend/src/lib/components/widgets/iconBlock.svelte @@ -4,12 +4,13 @@ export let pageId: string export let col: Column + console.log("icons:", col.iconBlocks, $mediaLibrary, $mediaLibrary[col.iconBlocks[0].icon])
{#each col.iconBlocks as icon}
- img + img
{icon.bigText}

{icon.smallText}