Merge branch 'tt-table/fix-saving-state' into 'master'

fixed saving state

See merge request fronk/thetool!1363
This commit is contained in:
Luca Haid
2025-05-19 13:26:39 +00:00

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