finish the loading of an invite RegisterAction when clicking on a link

This commit is contained in:
2024-10-06 20:01:07 -06:00
parent 1bfdcab90b
commit 149481d468
14 changed files with 247 additions and 44 deletions

View File

@@ -262,7 +262,8 @@ export default class NewEditProjectView extends Vue {
this.apiServer = settings.apiServer || "";
this.showGeneralAdvanced = !!settings.showGeneralAdvanced;
this.projectId = (this.$route as RouteLocationNormalizedLoaded).query["projectId"] || "";
this.projectId =
(this.$route as RouteLocationNormalizedLoaded).query["projectId"] || "";
if (this.projectId) {
if (this.numAccounts === 0) {
@@ -623,6 +624,7 @@ export default class NewEditProjectView extends Vue {
5000,
);
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (error: any) {
console.error(`Error sending to ${serviceName}`, error);
let errorMessage = `There was an error sending to ${serviceName}.`;