Only do an early return instead of onError() when domain adding errors
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user