#8078 fix multiselection #1502
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#1502
Loading…
Reference in New Issue
No description provided.
Delete Branch "8078-hotfix-multiSelection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -299,1 +298,3 @@
if (row.$index == rowIndex) break;
const minIndex = selectedIndexes.size
? Math.min(...selectedIndexes, rowIndex)
: 0;
si no hay ninguna fila seleccionada , se pone el valor 0 pasar que seleccione todas hasta el índice seleccionado.
@ -300,0 +302,4 @@
for (let i = minIndex; i <= maxIndex; i++) {
const row = rows[i];
if (row.$index == rowIndex) continue;
La fila en la que se ha hecho clic, la añade el propio evento, por eso en los tests no compruebo esa fila.