CASH-1247: Preselect In-Shop if Drop-off was selected

This commit is contained in:
Chris Redelinghuys 2025-07-25 14:14:33 -04:00
parent 39f92ad9a4
commit a8ac522200

View file

@ -73,7 +73,11 @@ export default {
},
selectedValue: {
get: function () {
return this.modelValue;
if (this.modelValue === AppointmentTypeStrings.DROP_OFF) {
return AppointmentTypeStrings.IN_SHOP;
} else {
return this.modelValue;
}
},
set: function (newValue) {
this.$emit("update:modelValue", newValue);