CASH-79
CASH-79 persist to sv2 in case user hits refresh on the page or closes browser. email address would be lost.
This commit is contained in:
parent
aedd4f5987
commit
8163945ea9
1 changed files with 8 additions and 0 deletions
|
|
@ -99,6 +99,14 @@ export async function submitWorkOrder({
|
|||
}
|
||||
|
||||
export async function saveQuote({ pageNameToLog }) {
|
||||
// save session back to sv2 so the email gets saved just in case they refresh or step away and come back later
|
||||
await saveSession({
|
||||
pageNameToLog: pageNameToLog,
|
||||
shouldAwaitSaveSessionQueue: true,
|
||||
submitAfterSave: false,
|
||||
createUnscheduledStatusWorkOrderForPIA: false,
|
||||
});
|
||||
|
||||
return await baseMixin.methods.dispatchStoreActionWithLogging(
|
||||
storeActions.SAVE_QUOTE,
|
||||
{},
|
||||
|
|
|
|||
Loading…
Reference in a new issue