move deductible call
This commit is contained in:
parent
6fbb437838
commit
554a4258eb
1 changed files with 1 additions and 5 deletions
|
|
@ -170,10 +170,8 @@ export default {
|
|||
];
|
||||
|
||||
let pricingResults = [];
|
||||
let deductibleResults = 0;
|
||||
if (useMainStore().order.policy.policyLookupSuccessful) {
|
||||
// && useMainStore().order.vehicle.policyVehicleId
|
||||
deductibleResults = await useMainStore().getFinalDeductible();
|
||||
await useMainStore().getFinalDeductible();
|
||||
pricingResults = await useMainStore().getPriceOrderItems(availableLineItems);
|
||||
}
|
||||
|
||||
|
|
@ -183,8 +181,6 @@ export default {
|
|||
vm.setSupportingItems(resultMap.supportingItems);
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
vm.availableLineItems = pricingResults;
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
vm.finalDeductible = deductibleResults;
|
||||
vm.$refs.loadingModal.showModal();
|
||||
vm.initializeComponent(availableLineItems);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue