From 3bb6ed5339f24b0c5a955022ad4ceb2fd217cf30 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Wed, 15 Jan 2025 12:17:52 -0500 Subject: [PATCH] Revert "Merge pull request #2194 from Safelite/revert-2193-feature/CASH-77" This reverts commit 42cc81913f23d60646ae8441367ef4a819cbd92b, reversing changes made to 28d8447dae5f81b126c20e580ae715d79551534d. --- .../save-progress-modal-question.vue | 7 ++----- src/layouts/quote/quote.vue | 3 --- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/fmg-components/save-progress-modal-question/save-progress-modal-question.vue b/src/fmg-components/save-progress-modal-question/save-progress-modal-question.vue index 4ff6304f5..e5f38fa2f 100644 --- a/src/fmg-components/save-progress-modal-question/save-progress-modal-question.vue +++ b/src/fmg-components/save-progress-modal-question/save-progress-modal-question.vue @@ -78,16 +78,13 @@ export default { this.modal.resetButtonStyle(); }, async saveProgress() { - // save email address to store - await this.dispatchStoreAction(storeActions.SAVE_EMAIL, this.userInput, false); + // send store call to send to new API (that triggers an email send) + this.$emit("save-progress"); // hide save progress button; show success message alert this.isProgressSaved = true; this.modal.closeModal(); - - // send store call to send to new API (that triggers an email send) - this.$emit("save-progress"); }, }, diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 7fcb506ce..f8e43f73a 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -466,9 +466,6 @@ export default { }, }, methods: { - async handleClick() { - await saveQuote({ pageNameToLog: "quote" }); - }, openModalAction(modalName) { this.$refs[modalName].openModal(); },