SSR-1385 add missing await
This commit is contained in:
parent
e151ba5548
commit
dc6ed57596
1 changed files with 1 additions and 1 deletions
|
|
@ -366,7 +366,7 @@ export default {
|
||||||
|
|
||||||
// We only call the ITAC pricing endpoint if we are not repair or we are NoComp
|
// We only call the ITAC pricing endpoint if we are not repair or we are NoComp
|
||||||
if (!this.isRepair || this.mainStore.isNoComp) {
|
if (!this.isRepair || this.mainStore.isNoComp) {
|
||||||
const pricingResults = useMainStore().getITACPriceOrderItems(availableLineItems)
|
const pricingResults = await useMainStore().getITACPriceOrderItems(availableLineItems)
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
useMainStore().setBailout(bailoutMessage.pricingResponseError(
|
useMainStore().setBailout(bailoutMessage.pricingResponseError(
|
||||||
availableLineItems.map((li) => li.partNumber),
|
availableLineItems.map((li) => li.partNumber),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue