Do not crash if catchAll is not yet defined for a maildomain

This commit is contained in:
Johannes Zellner
2025-04-08 17:06:10 +02:00
parent df0e211d01
commit d0eb84ec51

View File

@@ -59,8 +59,8 @@ onMounted(async () => {
}));
}
addresses.value = props.domainConfig.catchAll.slice();
currentAddresses.value = props.domainConfig.catchAll.slice();
addresses.value = props.domainConfig.catchAll ? props.domainConfig.catchAll.slice() : [];
currentAddresses.value = props.domainConfig.catchAll ? props.domainConfig.catchAll.slice() : [];
busy.value = false;
});