From 4bb6a243ef544651a8b2541d5c64d2d99719e73d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 28 Sep 2022 19:11:21 +0000 Subject: [PATCH] case 4198 --- ayanova/src/components/dash-today-reminders.vue | 11 +++++++---- ayanova/src/components/dash-today-reviews.vue | 11 +++++++---- ayanova/src/components/dash-today-scheduled-wo.vue | 11 +++++++---- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/ayanova/src/components/dash-today-reminders.vue b/ayanova/src/components/dash-today-reminders.vue index 16ab0407..ef3328c5 100644 --- a/ayanova/src/components/dash-today-reminders.vue +++ b/ayanova/src/components/dash-today-reminders.vue @@ -99,10 +99,13 @@ export default { timeZone: this.timeZoneName }); - this.$refs.calendar.scrollToTime({ - hour: now.getHours(), - minute: 0 - }); + //case 4198 + if (this.$refs && this.$refs.calendar) { + this.$refs.calendar.scrollToTime({ + hour: now.getHours(), + minute: 0 + }); + } try { this.errorMessage = null; diff --git a/ayanova/src/components/dash-today-reviews.vue b/ayanova/src/components/dash-today-reviews.vue index bbbff7c6..f22b5c23 100644 --- a/ayanova/src/components/dash-today-reviews.vue +++ b/ayanova/src/components/dash-today-reviews.vue @@ -89,10 +89,13 @@ export default { timeZone: this.timeZoneName }); - this.$refs.rvwcalendar.scrollToTime({ - hour: now.getHours(), - minute: 0 - }); + //case 4198 + if (this.$refs && this.$refs.calendar) { + this.$refs.rvwcalendar.scrollToTime({ + hour: now.getHours(), + minute: 0 + }); + } try { this.errorMessage = null; diff --git a/ayanova/src/components/dash-today-scheduled-wo.vue b/ayanova/src/components/dash-today-scheduled-wo.vue index 0d24d9b6..e67c981b 100644 --- a/ayanova/src/components/dash-today-scheduled-wo.vue +++ b/ayanova/src/components/dash-today-scheduled-wo.vue @@ -88,10 +88,13 @@ export default { timeZone: this.timeZoneName }); - this.$refs.calendar.scrollToTime({ - hour: now.getHours(), - minute: 0 - }); + //case 4198 + if (this.$refs && this.$refs.calendar) { + this.$refs.calendar.scrollToTime({ + hour: now.getHours(), + minute: 0 + }); + } try { this.errorMessage = null;