Correction groupes vers non affectés

This commit is contained in:
Sébastien Lehmann 2023-08-31 13:34:45 +02:00 committed by iziram
parent 1aa9003ea2
commit f5220025af

View File

@ -468,7 +468,8 @@
if (to[0] != "n") {
groupeSelected.closest(".grpPartitions").querySelector(`[value="${to}"]`).click();
} else {
groupeSelected.closest(".grpPartitions").querySelector(`[value="aucun"]`).click();
let toNumber = to.split("-")[1];
groupeSelected.closest(".grpPartitions").querySelector(`[data-idpartition="${toNumber}"] [value="aucun"]`).click();
}
})