Fix bug where stale data is shown in custom css drawer when changing components
This commit is contained in:
parent
0f3b447896
commit
1b8e6d029f
|
@ -35,6 +35,7 @@
|
|||
<ActionButton on:click={openDrawer}>Edit custom CSS</ActionButton>
|
||||
</div>
|
||||
</DetailSummary>
|
||||
{#key componentInstance?._id}
|
||||
<Drawer bind:this={drawer} title="Custom CSS">
|
||||
<Button cta slot="buttons" on:click={save}>Save</Button>
|
||||
<DrawerContent slot="body">
|
||||
|
@ -46,6 +47,7 @@
|
|||
</div>
|
||||
</DrawerContent>
|
||||
</Drawer>
|
||||
{/key}
|
||||
|
||||
<style>
|
||||
.content {
|
||||
|
|
Loading…
Reference in New Issue