mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03: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
@ -138,6 +138,7 @@
|
||||
{{/if}}
|
||||
|
||||
<GhTaskButton @buttonText="Send test email"
|
||||
@autoReset={{true}}
|
||||
@task={{this.sendTestEmail}}
|
||||
@successText="Email sent"
|
||||
@runningText="Sending..."
|
||||
|
Loading…
Reference in New Issue
Block a user