mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 21:51:13 +08:00
apply prettier on plugins (#7605)
This commit is contained in:
@ -92,8 +92,7 @@ export default Ember.Component.extend({
|
|||||||
this.messageBus.subscribe(
|
this.messageBus.subscribe(
|
||||||
r.messagebus_channel,
|
r.messagebus_channel,
|
||||||
message => {
|
message => {
|
||||||
if (!this.isDestroyed)
|
if (!this.isDestroyed) this.set("presenceUsers", message.users);
|
||||||
this.set("presenceUsers", message.users);
|
|
||||||
this._clearTimer = Ember.run.debounce(
|
this._clearTimer = Ember.run.debounce(
|
||||||
this,
|
this,
|
||||||
"clear",
|
"clear",
|
||||||
|
@ -21,10 +21,7 @@ function initializePollUIBuilder(api) {
|
|||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
showPollBuilder() {
|
showPollBuilder() {
|
||||||
showModal("poll-ui-builder").set(
|
showModal("poll-ui-builder").set("toolbarEvent", this.toolbarEvent);
|
||||||
"toolbarEvent",
|
|
||||||
this.toolbarEvent
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user