attempt 2 at adjusting class definition so its more easily extensible
This commit is contained in:
parent
08d56952df
commit
0fc2b64f65
|
@ -1,11 +1,15 @@
|
||||||
import { iconHTML } from 'discourse-common/helpers/fa-icon';
|
import { iconHTML } from 'discourse-common/helpers/fa-icon';
|
||||||
import Combobox from 'discourse-common/components/combo-box';
|
import Combobox from 'discourse-common/components/combo-box';
|
||||||
import { on, observes } from 'ember-addons/ember-computed-decorators';
|
import { observes } from 'ember-addons/ember-computed-decorators';
|
||||||
|
|
||||||
export default Combobox.extend({
|
export default Combobox.extend({
|
||||||
none: "topic.controls",
|
none: "topic.controls",
|
||||||
|
|
||||||
@on('init')
|
init() {
|
||||||
|
this._super();
|
||||||
|
this._createContent();
|
||||||
|
},
|
||||||
|
|
||||||
_createContent() {
|
_createContent() {
|
||||||
const content = [];
|
const content = [];
|
||||||
const topic = this.get('topic');
|
const topic = this.get('topic');
|
||||||
|
|
Loading…
Reference in New Issue