Compare commits

...

1 Commits

  1. 7
      src/views/ProjectViewView.vue

7
src/views/ProjectViewView.vue

@ -281,7 +281,7 @@ export default class ProjectViewView extends Vue {
const resp = await this.axios.get(url, { headers });
if (resp.status === 200) {
// feel free to remove this; I haven't yet because it's helpful
console.log('Loaded project: ', resp.data);
console.log("Loaded project: ", resp.data);
const startTime = resp.data.startTime;
if (startTime != null) {
const eventDate = new Date(startTime);
@ -320,7 +320,6 @@ export default class ProjectViewView extends Vue {
}
} catch (error: unknown) {
console.error("Error retrieving gives to this project:", error);
const serverError = error as AxiosError;
this.errorMessage =
"Something went wrong retrieving gives to this project.";
}
@ -338,9 +337,7 @@ export default class ProjectViewView extends Vue {
}
} catch (error: unknown) {
console.error("Error retrieving gives by this project:", error);
const serverError = error as AxiosError;
this.errorMessage =
"Something went wrong retrieving gives by project.";
this.errorMessage = "Something went wrong retrieving gives by project.";
}
}

Loading…
Cancel
Save