Merge pull request #2193 from Safelite/feature/CASH-77
CASH-77: remove unneeded call to save email
This commit is contained in:
commit
28d8447dae
2 changed files with 2 additions and 8 deletions
|
|
@ -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");
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -466,9 +466,6 @@ export default {
|
|||
},
|
||||
},
|
||||
methods: {
|
||||
async handleClick() {
|
||||
await saveQuote({ pageNameToLog: "quote" });
|
||||
},
|
||||
openModalAction(modalName) {
|
||||
this.$refs[modalName].openModal();
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue