mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 02:41:16 +08:00
DEV: apply new coding standards (#10592)
This commit is contained in:
@ -15,17 +15,17 @@ export default Controller.extend({
|
||||
|
||||
ajax("/admin/email/advanced-test", {
|
||||
type: "POST",
|
||||
data: { email: this.email }
|
||||
data: { email: this.email },
|
||||
})
|
||||
.then(data => {
|
||||
.then((data) => {
|
||||
this.setProperties({
|
||||
text: data.text,
|
||||
elided: data.elided,
|
||||
format: data.format
|
||||
format: data.format,
|
||||
});
|
||||
})
|
||||
.catch(popupAjaxError)
|
||||
.finally(() => this.set("loading", false));
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user