From c9eb60aaded18d8a76c690e6a739af71e3ec2497 Mon Sep 17 00:00:00 2001 From: Paolo Date: Thu, 18 Aug 2022 14:52:50 +0200 Subject: [PATCH] Removed tabulator property from Filter component --- public/js/components/filter/Filter.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/public/js/components/filter/Filter.js b/public/js/components/filter/Filter.js index 33c2525d2..b67941075 100644 --- a/public/js/components/filter/Filter.js +++ b/public/js/components/filter/Filter.js @@ -37,9 +37,6 @@ export const CoreFilterCmpt = { }, data: function() { return { - // Tabulator - tabulator: null, - // FilterCmpt properties fields: null, dataset: null, @@ -126,7 +123,7 @@ export const CoreFilterCmpt = { } // Start the tabulator with the buid options - this.tabulator = new Tabulator( + let tabulator = new Tabulator( "#filterTableDataset", tabulatorOptions ); @@ -137,7 +134,7 @@ export const CoreFilterCmpt = { // Attach all the provided event handlers to the started tabulator for (let i = 0; i < this.tabulatorEvents.length; i++) { - this.tabulator.on(this.tabulatorEvents[i].event, this.tabulatorEvents[i].handler); + tabulator.on(this.tabulatorEvents[i].event, this.tabulatorEvents[i].handler); } } },