Add the onDrawerShow/Hide events to filter editor (#12623)
This commit is contained in:
parent
a116523ddd
commit
99609ba5ec
|
@ -41,7 +41,7 @@
|
||||||
<div class="filter-editor">
|
<div class="filter-editor">
|
||||||
<ActionButton on:click={drawer.show}>{text}</ActionButton>
|
<ActionButton on:click={drawer.show}>{text}</ActionButton>
|
||||||
</div>
|
</div>
|
||||||
<Drawer bind:this={drawer} title="Filtering">
|
<Drawer bind:this={drawer} title="Filtering" on:drawerHide on:drawerShow>
|
||||||
<Button cta slot="buttons" on:click={saveFilter}>Save</Button>
|
<Button cta slot="buttons" on:click={saveFilter}>Save</Button>
|
||||||
<FilterDrawer
|
<FilterDrawer
|
||||||
slot="body"
|
slot="body"
|
||||||
|
|
|
@ -32,4 +32,4 @@
|
||||||
$: schema = linkedTable?.schema
|
$: schema = linkedTable?.schema
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<FilterEditor on:change {...$$props} {schema} />
|
<FilterEditor on:change {...$$props} {schema} on:drawerHide on:drawerShow />
|
||||||
|
|
Loading…
Reference in New Issue