From 211906eab93696969311932848fad6a555137a4a Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Sat, 6 Dec 2025 08:42:15 -0500 Subject: [PATCH] CASH-1790-ref: more accurate naming --- src/digital-components/date-picker/date-picker.vue | 2 +- src/layouts/schedule/schedule.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index d586ff839..db1eba7ff 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -281,7 +281,7 @@ export default { if (event.screenX === 0 && event.screenY === 0) { return; } - this.$emit("date-clicked", date); + this.$emit("date-selected", date); }, getWeekStartDate(dateString) { const date = convertDateStringToDate(dateString); diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index d3d382980..175ece2b1 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -144,7 +144,7 @@ class="text-link-small" :getMoreDatesCallback="getMoreScheduleData" validationRules="date-required" - @date-clicked="handleDateClicked" + @date-selected="handleDateSelected" :pricingByDayBasePrice="pricingByDayBasePrice" :pricingByDayUpcharge="pricingByDayUpcharge" :showPricingByDay="showPricingByDay" @@ -1572,7 +1572,7 @@ export default { handleWaitListRequested(value) { this.waitListRequested = value; }, - handleDateClicked(date) { + handleDateSelected(date) { // do something to mark this as upcharge day or not... if (date.isPricingByDayUpchargeDay) { this.includePricingByDayUpcharge = true;