Revert "CASH-77: remove unneeded call to save email"
This commit is contained in:
parent
28d8447dae
commit
2db0cd7b20
2 changed files with 8 additions and 2 deletions
|
|
@ -78,13 +78,16 @@ export default {
|
||||||
this.modal.resetButtonStyle();
|
this.modal.resetButtonStyle();
|
||||||
},
|
},
|
||||||
async saveProgress() {
|
async saveProgress() {
|
||||||
// send store call to send to new API (that triggers an email send)
|
// save email address to store
|
||||||
this.$emit("save-progress");
|
await this.dispatchStoreAction(storeActions.SAVE_EMAIL, this.userInput, false);
|
||||||
|
|
||||||
// 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");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -466,6 +466,9 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
async handleClick() {
|
||||||
|
await saveQuote({ pageNameToLog: "quote" });
|
||||||
|
},
|
||||||
openModalAction(modalName) {
|
openModalAction(modalName) {
|
||||||
this.$refs[modalName].openModal();
|
this.$refs[modalName].openModal();
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue