Compare commits
1 Commits
d9085ced6d
...
project-gi
| Author | SHA1 | Date | |
|---|---|---|---|
| 69ae5fe2ff |
@@ -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.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user