setup: if dns setup errors, reset busy

This commit is contained in:
Girish Ramakrishnan
2025-09-07 12:46:16 +02:00
parent d1ab79a9e7
commit 0a1870d862
+1 -1
View File
@@ -103,6 +103,7 @@ async function onSubmit() {
};
const [error] = await provisionModel.setup(data);
busy.value = false; // so we can come back to this view if dns setup errors later
if (error) {
if (error.status === 422) {
if (provider.value === 'ami') {
@@ -114,7 +115,6 @@ async function onSubmit() {
formError.value.generic = error.body ? error.body.message : 'Internal error';
}
busy.value = false;
return;
}