mirror of
https://github.com/discourse/discourse.git
synced 2025-06-15 22:12:38 +08:00
DEV: Ember linting - disallow Ember.* variable usage (#8782)
This commit is contained in:

committed by
GitHub

parent
88779d849f
commit
499b57a9ed
@ -8,6 +8,7 @@ import {
|
||||
import Draft from "discourse/models/draft";
|
||||
import { computed } from "@ember/object";
|
||||
import { camelize } from "@ember/string";
|
||||
import { isEmpty } from "@ember/utils";
|
||||
|
||||
// Component can get destroyed and lose state
|
||||
let _topicSnapshot = null;
|
||||
@ -49,7 +50,7 @@ export default DropdownSelectBoxComponent.extend({
|
||||
_postSnapshot = this.get("composerModel.post");
|
||||
}
|
||||
|
||||
if (Ember.isEmpty(this.content)) {
|
||||
if (isEmpty(this.content)) {
|
||||
this.set("selectKit.isHidden", true);
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user