Updating is safelite provider to true when navigating to service location page

This commit is contained in:
Michaela Brydon 2024-05-29 14:34:07 -04:00
parent 4165943934
commit 91b120218f
2 changed files with 2 additions and 1 deletions

View file

@ -2,7 +2,7 @@ import { useMainStore } from '@/store';
import { getPriceOfLineItems, getTaxOfLineItems } from '@/helpers/price-calculator';
import partNumberStrings from '@/constants/part-number-strings';
import partTypeStrings from '@/constants/part-type-strings';
import coverageType from "@/constants/coverage-type";
import coverageType from '@/constants/coverage-type';
/**
* Returns the lineItems object from the order

View file

@ -208,6 +208,7 @@ export default {
];
const resultMap = await settleAllPromises(promiseResultMap);
useMainStore().updateIsSafeliteProvider(true);
next((vm) => {
vm.setCmsContent(resultMap.cmsContent);
vm.setData(