prettier
This commit is contained in:
parent
9f3b901ce2
commit
73152239ee
1 changed files with 9 additions and 2 deletions
|
|
@ -306,7 +306,9 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Get pricingByDayUpcharge needed for Pricing By Day
|
// Get pricingByDayUpcharge needed for Pricing By Day
|
||||||
const pricingByDayUpchargePartPromise = showPricingByDay ? getPricingByDayPartWithPrice() : null;
|
const pricingByDayUpchargePartPromise = showPricingByDay
|
||||||
|
? getPricingByDayPartWithPrice()
|
||||||
|
: null;
|
||||||
|
|
||||||
const premiumFeePromise = baseMixin.methods.dispatchStoreActionWithLogging(
|
const premiumFeePromise = baseMixin.methods.dispatchStoreActionWithLogging(
|
||||||
storeActions.GET_MOBILE_PREMIUM_FEE,
|
storeActions.GET_MOBILE_PREMIUM_FEE,
|
||||||
|
|
@ -354,7 +356,12 @@ export default {
|
||||||
|
|
||||||
const resultMap = await settleAllPromises(promiseResultMap);
|
const resultMap = await settleAllPromises(promiseResultMap);
|
||||||
|
|
||||||
const pricingByDayUpcharge = showPricingByDay ? await baseMixin.methods.getTotalLineItemPrice(resultMap.pricingByDayUpchargePart,false) : null;
|
const pricingByDayUpcharge = showPricingByDay
|
||||||
|
? await baseMixin.methods.getTotalLineItemPrice(
|
||||||
|
resultMap.pricingByDayUpchargePart,
|
||||||
|
false
|
||||||
|
)
|
||||||
|
: null;
|
||||||
|
|
||||||
const datePickerInitialData = resultMap.datePickerInitialData;
|
const datePickerInitialData = resultMap.datePickerInitialData;
|
||||||
datePickerInitialData.pricingByDayBasePrice = pricingByDayBasePrice;
|
datePickerInitialData.pricingByDayBasePrice = pricingByDayBasePrice;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue