Merge pull request #1510 from Safelite/feature/CSR-1392
Feature/csr 1392
This commit is contained in:
commit
c77021931c
1 changed files with 1 additions and 8 deletions
|
|
@ -1048,14 +1048,7 @@ export const actions = {
|
|||
context.commit(storeMutations.UPDATE_CRM_CUSTOMER_ID, crmCustomerId);
|
||||
context.commit(storeMutations.WORK_ORDER_NUMBER, workOrderNumber);
|
||||
context.commit(storeMutations.LOCK_TOKEN, lockToken);
|
||||
|
||||
// if we already have the token, do not update it. pia does 2 work order submits and the value is not persisted after the first submit
|
||||
if (
|
||||
state.order.customerPortalLoginToken != null &&
|
||||
state.order.customerPortalLoginToken != "00000000-0000-0000-0000-000000000000"
|
||||
) {
|
||||
context.commit(storeMutations.Customer_Portal_Login_Token, customerPortalLoginToken);
|
||||
}
|
||||
context.commit(storeMutations.Customer_Portal_Login_Token, customerPortalLoginToken);
|
||||
},
|
||||
|
||||
logPageView(
|
||||
|
|
|
|||
Loading…
Reference in a new issue