fixed saving state

This commit is contained in:
Luca Haid
2025-05-19 15:26:21 +02:00
parent 507aa221c5
commit c9970fcb38

View File

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