diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 522f0bbed..a863197aa 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -313,8 +313,8 @@ export default class HomeView extends Vue { hours, ); - if (isGiveCreationError(result)) { - const errorMessage = getGiveCreationErrorMessage(result); + if (this.isGiveCreationError(result)) { + const errorMessage = this.getGiveCreationErrorMessage(result); console.log("Error with give result:", result); this.setAlert( "Error", @@ -327,7 +327,8 @@ export default class HomeView extends Vue { console.log("Error with give caught:", error); this.setAlert( "Error", - getGiveErrorMessage(error) || "There was an error recording the give.", + this.getGiveErrorMessage(error) || + "There was an error recording the give.", ); } }