mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 15:04:04 +00:00
disabling columns, header filters, sort persistence in tabulator where presets are used
This commit is contained in:
@@ -333,6 +333,16 @@ export const CoreFilterCmpt = {
|
||||
...(this.tabulatorOptions || {}),
|
||||
};
|
||||
|
||||
if (
|
||||
this.$props.isUsingPresets &&
|
||||
"tabulatorPreset-" + this.$props.presetsId in
|
||||
window.localStorage
|
||||
) {
|
||||
tabulatorOptions.persistence.columns = false;
|
||||
tabulatorOptions.persistence.headerFilter = false;
|
||||
tabulatorOptions.persistence.sort = false;
|
||||
}
|
||||
|
||||
if (tabulatorOptions.locale) {
|
||||
tabulatorOptions =
|
||||
await this.configureTabulatorLocalizations(
|
||||
|
||||
Reference in New Issue
Block a user