JSON filters view

This commit is contained in:
Jan Prochazka
2021-04-05 09:29:01 +02:00
parent 853eee6701
commit ff52430e1e
4 changed files with 62 additions and 0 deletions

View File

@@ -294,6 +294,14 @@ export abstract class GridDisplay {
this.reload();
}
removeFilter(uniqueName) {
this.setConfig(cfg => ({
...cfg,
filters: _.omit(cfg.filters, [uniqueName]),
}));
this.reload();
}
setFilters(dct) {
this.setConfig(cfg => ({
...cfg,