Fix
This commit is contained in:
parent
fc96d51519
commit
03589292d5
|
@ -170,12 +170,8 @@
|
|||
}
|
||||
|
||||
function handleOnEmptyFilter(value) {
|
||||
const existingFilter = filters?.find(filter => filter.onEmptyFilter)
|
||||
if (existingFilter) {
|
||||
existingFilter.onEmptyFilter = value
|
||||
} else {
|
||||
filters.push({ onEmptyFilter: value })
|
||||
}
|
||||
filters = filters?.filter(filter => !filter.onEmptyFilter)
|
||||
filters.push({ onEmptyFilter: value })
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue