mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 10:22:45 +08:00
FIX: send test email doesn't show a status
This commit is contained in:
parent
900e187627
commit
91e771ece6
|
@ -33,7 +33,7 @@ export default Ember.Controller.extend({
|
||||||
data: { email_address: this.get("testEmailAddress") }
|
data: { email_address: this.get("testEmailAddress") }
|
||||||
})
|
})
|
||||||
.then(response =>
|
.then(response =>
|
||||||
this.set("sentTestEmailMessage", response.send_test_email_message)
|
this.set("sentTestEmailMessage", response.sent_test_email_message)
|
||||||
)
|
)
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
if (e.responseJSON && e.responseJSON.errors) {
|
if (e.responseJSON && e.responseJSON.errors) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user