0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed valid test email check

This commit is contained in:
Rish 2019-11-07 10:55:55 +07:00
parent 80d58f99cb
commit cec378f6b1

View file

@ -358,7 +358,7 @@
input=(action (mut emailTestScratch) value="target.value") input=(action (mut emailTestScratch) value="target.value")
stopEnterKeyDownPropagation=true stopEnterKeyDownPropagation=true
data-test-field="email-test"}} data-test-field="email-test"}}
{{if isValidTestEmail "Please enter a valid email"}} {{unless isValidTestEmail "Please enter a valid email"}}
{{gh-task-button "Send Test Email" {{gh-task-button "Send Test Email"
task=sendTestEmail task=sendTestEmail
successText="Sent" successText="Sent"