Ghost/ghost/admin/app/components/gh-alerts.js

13 lines
304 B
JavaScript
Raw Normal View History

import Component from '@ember/component';
import {alias} from '@ember/object/computed';
import {inject as service} from '@ember/service';
export default Component.extend({
notifications: service(),
2015-05-21 20:03:24 +03:00
classNames: 'gh-alerts',
tagName: 'aside',
messages: alias('notifications.alerts')
2015-05-21 20:03:24 +03:00
});