ensure error message shows, and unset register flag if there's an API error

This commit is contained in:
2024-02-02 17:40:06 -07:00
parent 6aee93ca6c
commit 1be899c48d
4 changed files with 18 additions and 12 deletions

View File

@@ -343,7 +343,7 @@ export default class NewEditProjectView extends Vue {
if (Object.prototype.hasOwnProperty.call(serverError, "message")) {
userMessage =
(serverError.response?.data?.error?.message as string) ||
userMessage; // This is info for the user.
userMessage;
this.$notify(
{
group: "alert",