mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 17:18:19 +08:00
use Mixin postfix when importing tags mixin
This commit is contained in:
parent
03edb31a4d
commit
b63630d70b
|
@ -1,11 +1,11 @@
|
|||
import ComboBox from "select-kit/components/combo-box";
|
||||
import Tags from "select-kit/mixins/tags";
|
||||
import TagsMixin from "select-kit/mixins/tags";
|
||||
import { default as computed } from "ember-addons/ember-computed-decorators";
|
||||
import renderTag from "discourse/lib/render-tag";
|
||||
import { escapeExpression } from "discourse/lib/utilities";
|
||||
const { get, isEmpty, run, makeArray } = Ember;
|
||||
|
||||
export default ComboBox.extend(Tags, {
|
||||
export default ComboBox.extend(TagsMixin, {
|
||||
allowContentReplacement: true,
|
||||
headerComponent: "mini-tag-chooser/mini-tag-chooser-header",
|
||||
pluginApiIdentifiers: ["mini-tag-chooser"],
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import MultiSelectComponent from "select-kit/components/multi-select";
|
||||
import Tags from "select-kit/mixins/tags";
|
||||
import TagsMixin from "select-kit/mixins/tags";
|
||||
import renderTag from "discourse/lib/render-tag";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
const { get, run, makeArray } = Ember;
|
||||
|
||||
export default MultiSelectComponent.extend(Tags, {
|
||||
export default MultiSelectComponent.extend(TagsMixin, {
|
||||
pluginApiIdentifiers: ["tag-chooser"],
|
||||
classNames: "tag-chooser",
|
||||
isAsync: true,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import ComboBoxComponent from "select-kit/components/combo-box";
|
||||
import DiscourseURL from "discourse/lib/url";
|
||||
import Tags from "select-kit/mixins/tags";
|
||||
import TagsMixin from "select-kit/mixins/tags";
|
||||
import { default as computed } from "ember-addons/ember-computed-decorators";
|
||||
const { isEmpty, run } = Ember;
|
||||
|
||||
export default ComboBoxComponent.extend(Tags, {
|
||||
export default ComboBoxComponent.extend(TagsMixin, {
|
||||
pluginApiIdentifiers: ["tag-drop"],
|
||||
classNameBindings: ["categoryStyle", "tagClass"],
|
||||
classNames: "tag-drop",
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import MultiSelectComponent from "select-kit/components/multi-select";
|
||||
import Tags from "select-kit/mixins/tags";
|
||||
import TagsMixin from "select-kit/mixins/tags";
|
||||
import renderTag from "discourse/lib/render-tag";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
const { get, isEmpty, run, makeArray } = Ember;
|
||||
|
||||
export default MultiSelectComponent.extend(Tags, {
|
||||
export default MultiSelectComponent.extend(TagsMixin, {
|
||||
pluginApiIdentifiers: ["tag-group-chooser"],
|
||||
classNames: ["tag-group-chooser", "tag-chooser"],
|
||||
isAsync: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user