Hide content when side panel is hidden to avoid stale data being shown when re-revealing side panel

This commit is contained in:
Andrew Kingston 2022-12-06 09:55:25 +00:00
parent ad289e0143
commit e56b5cde90
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@
class="side-panel"
class:open
>
<slot />
{#if $sidePanelStore.open}
<slot />
{/if}
</div>
<style>