fix: reset persistence state on open change
This commit is contained in:
parent
881d603168
commit
a9caf9d5ad
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ export default function KindFilter({
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setTemporaryShowKinds(showKinds)
|
setTemporaryShowKinds(showKinds)
|
||||||
|
setIsPersistent(false)
|
||||||
}, [open])
|
}, [open])
|
||||||
|
|
||||||
const handleApply = () => {
|
const handleApply = () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue