From 624abbb179427eafb3ba65801e7009105b9f5ec2 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Fri, 14 Jul 2023 20:53:41 -0600 Subject: [PATCH] correct an error with unseen internal methods --- src/views/HomeView.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 522f0bb..a863197 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.", ); } }