mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-20 22:03:03 +08:00
After clear filters not reload table [SCI-6101][SCI-6102] (#3661)
Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
parent
c8fd0dce51
commit
27d6453527
2 changed files with 1 additions and 3 deletions
|
@ -37,7 +37,6 @@ window.initBMTFilter = () => {
|
|||
clearFilters() {
|
||||
this.clearSearchError();
|
||||
this.dataTableElement.removeAttr('data-external-ids');
|
||||
this.reloadDataTable();
|
||||
},
|
||||
closeFilters() {
|
||||
$(this.$el).closest('.dropdown').removeClass('open');
|
||||
|
|
|
@ -126,6 +126,7 @@
|
|||
},
|
||||
closeSavedFilters() {
|
||||
$('.saved-filters-container').removeClass('open');
|
||||
return true;
|
||||
},
|
||||
toggleSavedFilters() {
|
||||
$('.saved-filters-container').toggleClass('open');
|
||||
|
@ -136,7 +137,6 @@
|
|||
});
|
||||
},
|
||||
loadFilters(filters) {
|
||||
this.toggleSavedFilters();
|
||||
this.clearFilters();
|
||||
|
||||
let id = 1;
|
||||
|
@ -165,7 +165,6 @@
|
|||
);
|
||||
}
|
||||
});
|
||||
this.fetchCIDs();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue