Add the onDrawerShow/Hide events to filter editor (#12623)

This commit is contained in:
melohagan 2024-01-03 14:48:32 +00:00 committed by GitHub
parent a116523ddd
commit 99609ba5ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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 />