Remove duplicated search bar after bulk action
This commit is contained in:
parent
eeb26abf16
commit
04097f5c06
8
resources/assets/js/plugins/bulk-action.js
vendored
8
resources/assets/js/plugins/bulk-action.js
vendored
@ -175,8 +175,16 @@ export default class BulkAction {
|
|||||||
this.show = false;
|
this.show = false;
|
||||||
this.select_all = false;
|
this.select_all = false;
|
||||||
this.selected = [];
|
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
|
// Change enabled status
|
||||||
status(item_id, event, notify) {
|
status(item_id, event, notify) {
|
||||||
var item = event.target;
|
var item = event.target;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user