CASH-845: fix for seeing duration as undefined
This commit is contained in:
parent
e552d37031
commit
913de733ca
1 changed files with 5 additions and 1 deletions
|
|
@ -335,7 +335,11 @@ export default {
|
|||
this.estimatedServiceMinutesMaximum
|
||||
);
|
||||
|
||||
return `${inshopDurationTextWithoutTime} ${inshopDurationTime}`;
|
||||
if (this.estimatedServiceMinutesMinimum && this.estimatedServiceMinutesMaximum) {
|
||||
return `${inshopDurationTextWithoutTime} ${inshopDurationTime}`;
|
||||
}
|
||||
|
||||
return null;
|
||||
},
|
||||
durationTextBlockCopy() {
|
||||
if (this.appointmentType === AppointmentTypeStrings.MOBILE) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue