fixed saving state
This commit is contained in:
@@ -418,7 +418,7 @@ Vue.component('tt-table', {
|
||||
if (this.disableFiltering) return;
|
||||
|
||||
const filters = Object.entries(this.filters).reduce((acc, [key, value]) => {
|
||||
if (!value) {
|
||||
if (!value && value !== 0) {
|
||||
return acc; // Skip empty strings
|
||||
}
|
||||
value = JSON.parse(JSON.stringify(value)); // Deep copy to avoid Vue reactivity
|
||||
|
||||
Reference in New Issue
Block a user