diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index a539286..43aa29a 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -190,9 +190,9 @@ export default class NewEditProjectView extends Vue { this ); } - } catch (error: unknown) { + } catch (error) { let userMessage = "There was an error. See logs for more info."; - const serverError = error.response?.data?.error as AxiosError; + const serverError = error as AxiosError; if (serverError) { if (serverError.message) { userMessage = serverError.message; // This is info for the user. diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index 96b3869..f91125b 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -1,4 +1,45 @@