Revert "Merge pull request #2194 from Safelite/revert-2193-feature/CASH-77"

This reverts commit 42cc81913f, reversing
changes made to 28d8447dae.
This commit is contained in:
Adam Caouette 2025-01-15 12:17:52 -05:00
parent b067ffde47
commit 3bb6ed5339
2 changed files with 2 additions and 8 deletions

View file

@ -78,16 +78,13 @@ export default {
this.modal.resetButtonStyle(); this.modal.resetButtonStyle();
}, },
async saveProgress() { async saveProgress() {
// save email address to store // send store call to send to new API (that triggers an email send)
await this.dispatchStoreAction(storeActions.SAVE_EMAIL, this.userInput, false); this.$emit("save-progress");
// hide save progress button; show success message alert // hide save progress button; show success message alert
this.isProgressSaved = true; this.isProgressSaved = true;
this.modal.closeModal(); this.modal.closeModal();
// send store call to send to new API (that triggers an email send)
this.$emit("save-progress");
}, },
}, },

View file

@ -466,9 +466,6 @@ export default {
}, },
}, },
methods: { methods: {
async handleClick() {
await saveQuote({ pageNameToLog: "quote" });
},
openModalAction(modalName) { openModalAction(modalName) {
this.$refs[modalName].openModal(); this.$refs[modalName].openModal();
}, },