discourse/app/assets/javascripts/admin/controllers/admin-backups-logs.js.es6
Jarek Radosz ef6b7bd776
DEV: Use aliased inject imports (#9086)
This is a common Ember idiom for easier differentiation between controller and service imports.
2020-03-06 11:41:41 -05:00

14 lines
295 B
JavaScript

import { alias } from "@ember/object/computed";
import Controller, { inject as controller } from "@ember/controller";
export default Controller.extend({
adminBackups: controller(),
status: alias("adminBackups.model"),
init() {
this._super(...arguments);
this.logs = [];
}
});