make is slightly easier to extend
This commit is contained in:
parent
57784ddf2b
commit
d0d60ffa89
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue