DEV: Find/replace deprecated decorators
This commit is contained in:
parent
7c2d265d69
commit
63ddf106a4
|
@ -1,5 +1,5 @@
|
|||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import computed from "discourse-common/utils/decorators";
|
||||
|
||||
export default Ember.Component.extend({
|
||||
tagName: "tr",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import showModal from "discourse/lib/show-modal";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import computed from "discourse-common/utils/decorators";
|
||||
|
||||
export default Ember.Controller.extend({
|
||||
modalShowing: false,
|
||||
|
|
|
@ -5,7 +5,7 @@ import {
|
|||
default as computed,
|
||||
observes,
|
||||
on
|
||||
} from "ember-addons/ember-computed-decorators";
|
||||
} from "discourse-common/utils/decorators";
|
||||
|
||||
export default Ember.Controller.extend(ModalFunctionality, {
|
||||
@on("init")
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import {
|
||||
default as computed,
|
||||
on
|
||||
} from "ember-addons/ember-computed-decorators";
|
||||
import { default as computed, on } from "discourse-common/utils/decorators";
|
||||
|
||||
export default Ember.Controller.extend(ModalFunctionality, {
|
||||
saveDisabled: false,
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import {
|
||||
default as computed,
|
||||
on
|
||||
} from "ember-addons/ember-computed-decorators";
|
||||
import { default as computed, on } from "discourse-common/utils/decorators";
|
||||
|
||||
export default Ember.Controller.extend(ModalFunctionality, {
|
||||
@on("init")
|
||||
|
|
|
@ -3,7 +3,7 @@ import Category from "discourse/models/category";
|
|||
import {
|
||||
default as computed,
|
||||
observes
|
||||
} from "ember-addons/ember-computed-decorators";
|
||||
} from "discourse-common/utils/decorators";
|
||||
|
||||
export default RestModel.extend({
|
||||
available_filters: [
|
||||
|
|
Loading…
Reference in New Issue