Fix Hound related issue [SCI-7585]

This commit is contained in:
sboursen-scinote 2023-01-26 09:20:20 +01:00
parent 95b339f759
commit 36cc68f94a

View file

@ -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);