Remove duplicated search bar after bulk action

This commit is contained in:
benguozakinci@gmail.com 2021-09-27 19:10:40 +03:00
parent eeb26abf16
commit 04097f5c06

View File

@ -175,8 +175,16 @@ export default class BulkAction {
this.show = false;
this.select_all = false;
this.selected = [];
this.hideSearchHTML();
}
hideSearchHTML() {
setInterval(() => {
const search_box_html = document.querySelector('.js-search-box-hidden');
search_box_html.classList.add('d-none');
}, 5);
};
// Change enabled status
status(item_id, event, notify) {
var item = event.target;