CASH-1247: Preselect In-Shop if Drop-off was selected
This commit is contained in:
parent
39f92ad9a4
commit
a8ac522200
1 changed files with 5 additions and 1 deletions
|
|
@ -73,7 +73,11 @@ export default {
|
||||||
},
|
},
|
||||||
selectedValue: {
|
selectedValue: {
|
||||||
get: function () {
|
get: function () {
|
||||||
|
if (this.modelValue === AppointmentTypeStrings.DROP_OFF) {
|
||||||
|
return AppointmentTypeStrings.IN_SHOP;
|
||||||
|
} else {
|
||||||
return this.modelValue;
|
return this.modelValue;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
set: function (newValue) {
|
set: function (newValue) {
|
||||||
this.$emit("update:modelValue", newValue);
|
this.$emit("update:modelValue", newValue);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue