fix
All checks were successful
deploy to production / deploy (push) Successful in 34s

This commit is contained in:
2023-11-18 16:20:51 +00:00
parent dfa8496c93
commit 296458a7cf
3 changed files with 9 additions and 8 deletions

View File

@@ -62,14 +62,15 @@
? 'margin-top: 0px; padding-top: 0px;'
: ''}"
>
{#if row.backgroundImage && mediaLibrary[row.backgroundImage]}
{#if row.backgroundImage && $mediaLibrary[row.backgroundImage]}
<div class="background-image">
<img
src="{`${apiBaseURL}medialib/${row?.backgroundImage}/${
mediaLibrary?.[row?.backgroundImage]?.file?.src
<svg
stroke="{'white'}"
fill="{'white'}"
data-src="{`${apiBaseURL}medialib/${row?.backgroundImage}/${
$mediaLibrary?.[row?.backgroundImage]?.file?.src
}`}"
alt="img"
/>
></svg>
</div>
{/if}
<div class="content" class:bright="{row.backgroundImage}">