Skip to content

Commit

Permalink
Use hidden by filter class on the batch actions too
Browse files Browse the repository at this point in the history
  • Loading branch information
dombesz committed Mar 25, 2024
1 parent c82de78 commit 488dc6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.Box-row
&.hidden-by-filter
.Box
.hidden-by-filter
display: none
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,19 @@ export default class ProjectCustomFieldsMappingFilterController extends Controll
this.showBulkActionContainers();

this.searchItemTargets.forEach((item) => {
(item as HTMLElement).style.display = 'block';
(item as HTMLElement).classList.remove('hidden-by-filter');
});
}

hideBulkActionContainers() {
this.bulkActionContainerTargets.forEach((item) => {
(item as HTMLElement).style.display = 'none';
(item as HTMLElement).classList.add('hidden-by-filter');
});
}

showBulkActionContainers() {
this.bulkActionContainerTargets.forEach((item) => {
(item as HTMLElement).style.display = 'block';
(item as HTMLElement).classList.remove('hidden-by-filter');
});
}
}

0 comments on commit 488dc6e

Please sign in to comment.