We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3eb76 commit 7692f71Copy full SHA for 7692f71
src/routes/+layout.svelte
@@ -21,6 +21,7 @@
21
import titleUpdate from "$lib/stores/titleUpdate";
22
import DisclaimerModal from "$lib/components/DisclaimerModal.svelte";
23
import ExpandNavigation from "$lib/components/ExpandNavigation.svelte";
24
+ import { PUBLIC_APP_DISCLAIMER } from "$env/static/public";
25
26
export let data;
27
@@ -182,7 +183,7 @@
182
183
{/if}
184
</svelte:head>
185
-{#if !$settings.ethicsModalAccepted && $page.url.pathname !== `${base}/privacy`}
186
+{#if !$settings.ethicsModalAccepted && $page.url.pathname !== `${base}/privacy` && PUBLIC_APP_DISCLAIMER === "1"}
187
<DisclaimerModal />
188
189
0 commit comments