mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
fix bulk action bar positioning (#1370)
* fix bulk action bar positioning * remove extra space
This commit is contained in:
parent
277fb3dc39
commit
3cd364af09
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ export default class extends Controller {
|
|||
_updateSelectionBar() {
|
||||
const count = this.selectedIdsValue.length;
|
||||
this.selectionBarTextTarget.innerText = `${count} ${this._pluralizedResourceName()} selected`;
|
||||
this.selectionBarTarget.hidden = count === 0;
|
||||
this.selectionBarTarget.classList.toggle("hidden", count === 0);
|
||||
this.selectionBarTarget.querySelector("input[type='checkbox']").checked =
|
||||
count > 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue