💄 Added reset behavior for test email newsletter button

no issue

This change adds auto-reset behavior to test email newsletter button by resetting it to default state - "Send test email" - after sending an email newsletter. Previously the button stayed in "Email sent" state after sending email which can be misleading when trying to send another test mail.
This commit is contained in:
Rish 2020-04-27 11:39:18 +05:30
parent f26b27a44f
commit 08458f74a9

View File

@ -138,6 +138,7 @@
{{/if}}
<GhTaskButton @buttonText="Send test email"
@autoReset={{true}}
@task={{this.sendTestEmail}}
@successText="Email sent"
@runningText="Sending..."