mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
REFACTOR: Remove Ember.Controller
in favor of import
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
export default Ember.Controller.extend({
|
||||
export default Controller.extend({
|
||||
pingDisabled: false,
|
||||
incomingCount: Ember.computed.alias("incomingEventIds.length"),
|
||||
|
||||
|
Reference in New Issue
Block a user