1
0
forked from ScoDoc/ScoDoc

Merge pull request 'Correction groupes vers non affectés' (#700) from lehmann/ScoDoc-Front:correction into master

Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/700
This commit is contained in:
Emmanuel Viennet 2023-08-31 13:37:03 +02:00
commit 224ec7be81

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();
}
})