Merge pull request #718 from Safelite/bug/brydon/SSR-1312
Updating is safelite provider to true when navigating to service loca…
This commit is contained in:
commit
8f2339e4e1
2 changed files with 2 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import { useMainStore } from '@/store';
|
||||||
import { getPriceOfLineItems, getTaxOfLineItems } from '@/helpers/price-calculator';
|
import { getPriceOfLineItems, getTaxOfLineItems } from '@/helpers/price-calculator';
|
||||||
import partNumberStrings from '@/constants/part-number-strings';
|
import partNumberStrings from '@/constants/part-number-strings';
|
||||||
import partTypeStrings from '@/constants/part-type-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
|
* Returns the lineItems object from the order
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,7 @@ export default {
|
||||||
];
|
];
|
||||||
|
|
||||||
const resultMap = await settleAllPromises(promiseResultMap);
|
const resultMap = await settleAllPromises(promiseResultMap);
|
||||||
|
useMainStore().updateIsSafeliteProvider(true);
|
||||||
next((vm) => {
|
next((vm) => {
|
||||||
vm.setCmsContent(resultMap.cmsContent);
|
vm.setCmsContent(resultMap.cmsContent);
|
||||||
vm.setData(
|
vm.setData(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue