Mishig commited on
Commit
8d2d653
1 Parent(s): 1305730

[Privacy page] Skip disclaimer modal including `basePath` (#829)

Browse files
Files changed (1) hide show
  1. src/routes/+layout.svelte +1 -1
src/routes/+layout.svelte CHANGED
@@ -166,7 +166,7 @@
166
  {/if}
167
  </svelte:head>
168
 
169
- {#if !$settings.ethicsModalAccepted && $page.url.pathname !== "/privacy"}
170
  <DisclaimerModal />
171
  {/if}
172
 
 
166
  {/if}
167
  </svelte:head>
168
 
169
+ {#if !$settings.ethicsModalAccepted && $page.url.pathname !== `${base}/privacy`}
170
  <DisclaimerModal />
171
  {/if}
172