Restore render blocker around client apps until data is ready

This commit is contained in:
Andrew Kingston 2024-04-17 16:26:18 +01:00
parent b529e98b05
commit 2ffa523ace
1 changed files with 121 additions and 119 deletions

View File

@ -119,14 +119,15 @@
{/if}
</svelte:head>
<div
{#if dataLoaded}
<div
id="spectrum-root"
lang="en"
dir="ltr"
class="spectrum spectrum--medium {$themeStore.baseTheme} {$themeStore.theme}"
class:builder={$builderStore.inBuilder}
class:show={fontsLoaded && dataLoaded}
>
>
{#if $environmentStore.maintenance.length > 0}
<MaintenanceScreen maintenanceList={$environmentStore.maintenance} />
{:else}
@ -251,8 +252,9 @@
</UserBindingsProvider>
</DeviceBindingsProvider>
{/if}
</div>
<KeyboardManager />
</div>
<KeyboardManager />
{/if}
<style>
#spectrum-root {