Fix side panel issue where content from multiple side panels would be shown
This commit is contained in:
parent
cf02e88885
commit
a8d128ac26
|
@ -47,7 +47,10 @@
|
|||
// Apply initial visibility
|
||||
update(visible)
|
||||
|
||||
return { update }
|
||||
return {
|
||||
update,
|
||||
destroy: () => update(false),
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -57,7 +60,7 @@
|
|||
class="side-panel"
|
||||
class:open
|
||||
>
|
||||
{#if $sidePanelStore.open}
|
||||
{#if open}
|
||||
<slot />
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue