mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-22 23:48:18 +08:00
Fix Hound related issue [SCI-7585]
This commit is contained in:
parent
95b339f759
commit
36cc68f94a
1 changed files with 6 additions and 3 deletions
|
@ -120,9 +120,12 @@ window.initRepositoryFilter = () => {
|
|||
this.reloadDataTable();
|
||||
},
|
||||
clearFilters() {
|
||||
this.filters.forEach(filter => {
|
||||
filter.data.parameters = {};
|
||||
});
|
||||
this.filters = this.filters
|
||||
.map(filter => {
|
||||
const newFilter = {...filter};
|
||||
newFilter.data["parameters"] = {};
|
||||
return newFilter;
|
||||
});
|
||||
this.filterName = null;
|
||||
this.dataTableElement.removeAttr('data-repository-filter-json');
|
||||
$('#modalSaveRepositoryTableFilter').data('repositoryTableFilterId', null);
|
||||
|
|
Loading…
Reference in a new issue