fix IBAN entry

This commit is contained in:
iw0 2024-06-04 21:19:51 +02:00
parent e76b741a5e
commit 66ab35a28b

View File

@ -484,7 +484,8 @@ const enterPaymentDetails = {
execute: node => {
if (!hasConfiguredBankDetails) return true;
const xfrRadio = node.querySelector('#ueberweisung');
xfrRadio.dispatchEvent(new Event('change'));
// Seems to have been removed. Try anyway.
if (xfrRadio instanceof Element) xfrRadio.dispatchEvent(new Event('change'));
settings.get(bankDetailConfigKeys).then(results => {
console.debug(results);
for (const [k, v] of Object.entries(results)) {
@ -498,7 +499,7 @@ const enterPaymentDetails = {
}
}
})
true
return true;
},
}
const defaultStages = [