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",
|
||||
this.getSelectedTimeSlotInfoObject(this.selectedRouteCode)
|
||||
);
|
||||
this.$emit("TimeSlotSelected");
|
||||
},
|
||||
getRelevantDropOffCmsWidgetNameForSelectedTimeSlot(
|
||||
selectedRouteCode,
|
||||
|
|
@ -503,7 +502,7 @@ export default {
|
|||
};
|
||||
},
|
||||
setSelectedRouteCodeFromParent() {
|
||||
if (!this.modelValue?.timeSlot) {
|
||||
if (!this.modelValue?.timeSlot?.routeCode) {
|
||||
return;
|
||||
}
|
||||
const routeCodeFromParent = this.modelValue.timeSlot.routeCode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue