Removed commented code and renamed CTU variable in parameter list for priceOrderItemsAndSaveServerData
This commit is contained in:
parent
7978a9407b
commit
cff0f89e76
2 changed files with 2 additions and 9 deletions
|
|
@ -40,13 +40,6 @@
|
||||||
"
|
"
|
||||||
:data-bs-target="'#' + getRouterLinkRouteFromCopy(copy)"
|
:data-bs-target="'#' + getRouterLinkRouteFromCopy(copy)"
|
||||||
aria-label="Modal window" />
|
aria-label="Modal window" />
|
||||||
<!-- <textLink
|
|
||||||
linkType="text"
|
|
||||||
:text="getRouterLinkDisplayTextFromCopy(copy)"
|
|
||||||
href="#!"
|
|
||||||
data-bs-toggle="modal"
|
|
||||||
:data-bs-target="'#' + getRouterLinkRouteFromCopy(copy)"
|
|
||||||
aria-label="Modal window" /> -->
|
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -1431,11 +1431,11 @@ export const actions = {
|
||||||
context.commit(storeMutations.UPDATE_VAPS, vaps);
|
context.commit(storeMutations.UPDATE_VAPS, vaps);
|
||||||
},
|
},
|
||||||
// Price order actions
|
// Price order actions
|
||||||
async priceOrderItemsAndSaveServerData(context, { availableLineItems, serviceZipCode, ctu }) {
|
async priceOrderItemsAndSaveServerData(context, { availableLineItems, serviceZipCode, serviceZipCodeCtu }) {
|
||||||
const zipCodeToUse = serviceZipCode
|
const zipCodeToUse = serviceZipCode
|
||||||
? serviceZipCode
|
? serviceZipCode
|
||||||
: context.getters.order.serviceLocation.zipCode;
|
: context.getters.order.serviceLocation.zipCode;
|
||||||
const ctuToUse = ctu ? ctu : context.getters.order.serviceLocation.zipCodeCtu;
|
const ctuToUse = serviceZipCodeCtu ? serviceZipCodeCtu : context.getters.order.serviceLocation.zipCodeCtu;
|
||||||
|
|
||||||
const availableLineItemsFormattedForRequest =
|
const availableLineItemsFormattedForRequest =
|
||||||
getLineItemQueryStringForPricing(availableLineItems);
|
getLineItemQueryStringForPricing(availableLineItems);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue