fix: do not run cleanup and build parallel

fix: UI error toasts
This commit is contained in:
Andras Bacsai
2022-07-08 14:11:18 +02:00
parent d344a9bb4f
commit da11bae67c
18 changed files with 66 additions and 42 deletions

View File

@@ -109,7 +109,7 @@
return true;
}
showSave = true;
} catch ({ error }) {
} catch (error) {
showSave = false;
return errorNotification(error);
}
@@ -138,7 +138,7 @@
return await goto(`${to}?from=${from}`);
}
return await goto(from || `/applications/${id}/configuration/destination`);
} catch ({ error }) {
} catch (error) {
return errorNotification(error);
}
}

View File

@@ -203,7 +203,7 @@
return true;
}
showSave = true;
} catch ({ error }) {
} catch (error) {
return errorNotification(error);
}
}

View File

@@ -51,7 +51,7 @@
try {
await post(`/applications/${id}/configuration/destination`, { destinationId });
return await goto(from || `/applications/${id}/configuration/buildpack`);
} catch ({ error }) {
} catch (error) {
return errorNotification(error);
}
}