diff --git a/dashboard/src/components/CatchAllSettingsItem.vue b/dashboard/src/components/CatchAllSettingsItem.vue index 8351f5cc5..9d2438b75 100644 --- a/dashboard/src/components/CatchAllSettingsItem.vue +++ b/dashboard/src/components/CatchAllSettingsItem.vue @@ -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; });