mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +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')
|
|
});
|