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({
2015-05-21 20:03:24 +03:00
tagName: 'aside',
classNames: 'gh-alerts',
notifications: service(),
2015-05-21 20:03:24 +03:00
messages: alias('notifications.alerts')
2015-05-21 20:03:24 +03:00
});