mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
48e3bf003d
no issue - https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/order-in-components.md - https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/order-in-controllers.md - https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/order-in-routes.md
13 lines
304 B
JavaScript
13 lines
304 B
JavaScript
import Component from '@ember/component';
|
|
import {alias} from '@ember/object/computed';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default Component.extend({
|
|
notifications: service(),
|
|
|
|
classNames: 'gh-alerts',
|
|
tagName: 'aside',
|
|
|
|
messages: alias('notifications.alerts')
|
|
});
|