add contact import by URL, add error notification, refine tasks

This commit is contained in:
2023-12-04 19:21:03 -07:00
parent 276d8b2f19
commit 0bbadfec6d
3 changed files with 26 additions and 5 deletions

View File

@@ -293,6 +293,20 @@ export default class NewEditProjectView extends Vue {
2000,
this,
);
} else {
console.log(
"Got unexpected 'data' inside response from server",
resp,
);
this.$notify(
{
group: "alert",
type: "danger",
title: "Error Saving Project",
text: "Server did not save the project. Try again.",
},
-1,
);
}
} catch (error) {
let userMessage = "There was an error saving the project.";