Only do an early return instead of onError() when domain adding errors

This commit is contained in:
Johannes Zellner
2025-12-10 17:26:24 +01:00
parent dd9dc34308
commit 49f8b3b7f6
+1 -1
View File
@@ -78,7 +78,7 @@ async function onSubmit() {
if (error) {
errorMessage.value = error.body ? error.body.message : 'Internal error';
busy.value = false;
if (error) return window.cloudron.onError(error);
return;
}
emit('success');