mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
💄 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:
parent
f26b27a44f
commit
08458f74a9
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<GhTaskButton @buttonText="Send test email"
|
<GhTaskButton @buttonText="Send test email"
|
||||||
|
@autoReset={{true}}
|
||||||
@task={{this.sendTestEmail}}
|
@task={{this.sendTestEmail}}
|
||||||
@successText="Email sent"
|
@successText="Email sent"
|
||||||
@runningText="Sending..."
|
@runningText="Sending..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue