attempt 2 at adjusting class definition so its more easily extensible

This commit is contained in:
Sam Saffron 2017-02-22 14:18:43 -05:00
parent 08d56952df
commit 0fc2b64f65
1 changed files with 6 additions and 2 deletions

View File

@ -1,11 +1,15 @@
import { iconHTML } from 'discourse-common/helpers/fa-icon';
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({
none: "topic.controls",
@on('init')
init() {
this._super();
this._createContent();
},
_createContent() {
const content = [];
const topic = this.get('topic');