diff --git a/public/js/components/filter/Filter.js b/public/js/components/filter/Filter.js index 77e3d7a60..92984d0eb 100644 --- a/public/js/components/filter/Filter.js +++ b/public/js/components/filter/Filter.js @@ -199,7 +199,7 @@ export const CoreFilterCmpt = { tabulatorOptions.columns = this.filteredColumns; } - if (tabulatorOptions.columns && tabulatorOptions.columns.filter(el => el.formatter == 'rowSelection').length) + if (tabulatorOptions.selectable || (tabulatorOptions.columns && tabulatorOptions.columns.filter(el => el.formatter == 'rowSelection').length)) this.tabulatorHasSelector = true; // Start the tabulator with the build options @@ -235,7 +235,7 @@ export const CoreFilterCmpt = { } }, _updateTabulator() { - this.tabulatorHasSelector = this.filteredColumns.filter(el => el.formatter == 'rowSelection').length; + this.tabulatorHasSelector = this.tabulatorOptions.selectable || this.filteredColumns.filter(el => el.formatter == 'rowSelection').length; this.tabulator.setColumns(this.filteredColumns); this.tabulator.setData(this.filteredData); }, @@ -529,7 +529,7 @@ export const CoreFilterCmpt = { Mit {{selectedData.length}} ausgewählten: - +
[ {{ filterName }} ]