Modify select panel visibility

Make the select panel always visible because several user reports suggest that they are unaware of the feature.
Also solves the minor issue that selecting/deselecting a single row changes the position of the table which makes it prone to misclicks.
This commit is contained in:
d-buchmann 2025-08-13 11:57:00 +02:00
parent 23cd51c1ca
commit afbd373088
2 changed files with 6 additions and 6 deletions

View file

@ -42,11 +42,11 @@ export default class extends DatatablesController {
const selectPanel = this.selectPanelTarget;
//Hide/Unhide panel with the selection tools
//Toggle action button based on selection
if (count > 0) {
selectPanel.classList.remove('d-none');
document.getElementById("selectPanel_submit").disabled = false;
} else {
selectPanel.classList.add('d-none');
document.getElementById("selectPanel_submit").disabled = true;
}
//Update selection count text