Merge pull request #405 from Safelite/feature/digital/SSR-606
Feature/digital/ssr 606
This commit is contained in:
commit
6d827e3f65
1 changed files with 3 additions and 0 deletions
|
|
@ -345,6 +345,9 @@ export const useMainStore = defineStore({
|
|||
const responsePolicy = r.data.policies?.[0];
|
||||
policy.policyLookupSuccessful = !!responsePolicy;
|
||||
return r;
|
||||
}).catch((error) => {
|
||||
policy.policyLookupSuccessful = false;
|
||||
return error;
|
||||
});
|
||||
return response;
|
||||
} catch (responseError) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue