Merge pull request #2190 from Safelite/feature/CASH-79-BE

Feature/cash 79 be
This commit is contained in:
CarlNation 2025-01-13 10:47:03 -05:00 committed by GitHub
commit 38792cabe4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
{},