Fixed bug in IBAN generator that ignored sepa and non-sepa inclusion/exclusion

Update iban-generator.mjs
This commit is contained in:
2025-03-30 22:03:13 +02:00
parent 4f11e82290
commit 92d7b245a2

View File

@@ -119,6 +119,9 @@ import {initCore} from "../../js/nibblepoker-core.mjs";
}
targetSpecs.forEach(spec => {
if((spec.isSepa && !eOptionEnableSepa.checked) || (!spec.isSepa && !eOptionEnableNonSepa.checked)) {
return;
}
for(let i = 0; i < desiredCount; i++) {
if(prettyIban) {
lastIBANs.push(