Fix error svg icon

This commit is contained in:
Adria Navarro 2024-12-11 14:33:41 +01:00
parent 80b8d1c23c
commit 292f46226f
1 changed files with 3 additions and 4 deletions

View File

@ -196,8 +196,7 @@
{#if permissionError} {#if permissionError}
<div class="error"> <div class="error">
<Layout justifyItems="center" gap="S"> <Layout justifyItems="center" gap="S">
<!-- eslint-disable-next-line svelte/no-at-html-tags --> <img src={ErrorSVG} alt="Error" />
{@html ErrorSVG}
<Heading size="L"> <Heading size="L">
You don't have permission to use this app You don't have permission to use this app
</Heading> </Heading>
@ -210,7 +209,7 @@
<div class="error"> <div class="error">
<Layout justifyItems="center" gap="S"> <Layout justifyItems="center" gap="S">
<!-- eslint-disable-next-line svelte/no-at-html-tags --> <!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html ErrorSVG} <img src={ErrorSVG} alt="My Icon" />
<Heading size="L"> <Heading size="L">
Something went wrong rendering your app Something went wrong rendering your app
</Heading> </Heading>
@ -224,7 +223,7 @@
<div class="error"> <div class="error">
<Layout justifyItems="center" gap="S"> <Layout justifyItems="center" gap="S">
<!-- eslint-disable-next-line svelte/no-at-html-tags --> <!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html ErrorSVG} <img src={ErrorSVG} alt="My Icon" />
<Heading size="L"> <Heading size="L">
This Budibase app is not publicly accessible This Budibase app is not publicly accessible
</Heading> </Heading>