Reset filters when reopening table filter button
This commit is contained in:
parent
13d0c0f734
commit
9c7e3cd95e
|
@ -52,7 +52,15 @@
|
||||||
{filterCount ? `Filter: ${filterCount}` : "Filter"}
|
{filterCount ? `Filter: ${filterCount}` : "Filter"}
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
|
|
||||||
<Drawer bind:this={drawer} title="Filtering" on:drawerHide forceModal>
|
<Drawer
|
||||||
|
bind:this={drawer}
|
||||||
|
title="Filtering"
|
||||||
|
on:drawerHide
|
||||||
|
on:drawerShow={() => {
|
||||||
|
localFilters = filters
|
||||||
|
}}
|
||||||
|
forceModal
|
||||||
|
>
|
||||||
<Button
|
<Button
|
||||||
cta
|
cta
|
||||||
slot="buttons"
|
slot="buttons"
|
||||||
|
|
Loading…
Reference in New Issue