make is slightly easier to extend

This commit is contained in:
Sam Saffron 2017-02-22 14:06:06 -05:00
parent 57784ddf2b
commit d0d60ffa89
1 changed files with 4 additions and 3 deletions

View File

@ -1,12 +1,13 @@
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() {
_createContent() { this._super();
const content = []; const content = [];
const topic = this.get('topic'); const topic = this.get('topic');
const details = topic.get('details'); const details = topic.get('details');