diff --git a/app/assets/javascripts/discourse/app/models/category.js b/app/assets/javascripts/discourse/app/models/category.js index bc4f1f91272..865787e5266 100644 --- a/app/assets/javascripts/discourse/app/models/category.js +++ b/app/assets/javascripts/discourse/app/models/category.js @@ -1,5 +1,6 @@ import { warn } from "@ember/debug"; import { get } from "@ember/object"; +import { on } from "@ember-decorators/object"; import { ajax } from "discourse/lib/ajax"; import { NotificationLevels } from "discourse/lib/notification-levels"; import PermissionType from "discourse/models/permission-type"; @@ -8,7 +9,7 @@ import Site from "discourse/models/site"; import User from "discourse/models/user"; import { getOwnerWithFallback } from "discourse-common/lib/get-owner"; import getURL from "discourse-common/lib/get-url"; -import discourseComputed, { on } from "discourse-common/utils/decorators"; +import discourseComputed from "discourse-common/utils/decorators"; import { MultiCache } from "discourse-common/utils/multi-cache"; const STAFF_GROUP_NAME = "staff"; diff --git a/app/assets/javascripts/discourse/app/models/group.js b/app/assets/javascripts/discourse/app/models/group.js index 580efaad6b0..220c131f446 100644 --- a/app/assets/javascripts/discourse/app/models/group.js +++ b/app/assets/javascripts/discourse/app/models/group.js @@ -2,6 +2,7 @@ import EmberObject from "@ember/object"; import { dependentKeyCompat } from "@ember/object/compat"; import { equal } from "@ember/object/computed"; import { isEmpty } from "@ember/utils"; +import { observes } from "@ember-decorators/object"; import { Promise } from "rsvp"; import { ajax } from "discourse/lib/ajax"; import Category from "discourse/models/category"; @@ -9,7 +10,7 @@ import GroupHistory from "discourse/models/group-history"; import RestModel from "discourse/models/rest"; import Topic from "discourse/models/topic"; import User from "discourse/models/user"; -import discourseComputed, { observes } from "discourse-common/utils/decorators"; +import discourseComputed from "discourse-common/utils/decorators"; export default class Group extends RestModel { static findAll(opts) {