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

17 lines
437 B
JavaScript
Raw Normal View History

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