CASH-814 | Refactor and bug fix
This commit is contained in:
parent
79dba3bdd8
commit
7ab6c46eff
1 changed files with 1 additions and 2 deletions
|
|
@ -440,7 +440,6 @@ export default {
|
||||||
"update:modelValue",
|
"update:modelValue",
|
||||||
this.getSelectedTimeSlotInfoObject(this.selectedRouteCode)
|
this.getSelectedTimeSlotInfoObject(this.selectedRouteCode)
|
||||||
);
|
);
|
||||||
this.$emit("TimeSlotSelected");
|
|
||||||
},
|
},
|
||||||
getRelevantDropOffCmsWidgetNameForSelectedTimeSlot(
|
getRelevantDropOffCmsWidgetNameForSelectedTimeSlot(
|
||||||
selectedRouteCode,
|
selectedRouteCode,
|
||||||
|
|
@ -503,7 +502,7 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
setSelectedRouteCodeFromParent() {
|
setSelectedRouteCodeFromParent() {
|
||||||
if (!this.modelValue?.timeSlot) {
|
if (!this.modelValue?.timeSlot?.routeCode) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const routeCodeFromParent = this.modelValue.timeSlot.routeCode;
|
const routeCodeFromParent = this.modelValue.timeSlot.routeCode;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue