Ghost/core/client/app/components/gh-notifications.js
Kevin Ansfield 7ac6ebb920 Refactor notifications service & components
issue #5409

- change persistent/passive notification status to alert/notification
- replace showSuccess/Info/Warn/Error with showNotification/showAlert
- fix and clean up notification/alert components
2015-07-28 12:26:11 +01:00

11 lines
241 B
JavaScript

import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'aside',
classNames: 'gh-notifications',
notifications: Ember.inject.service(),
messages: Ember.computed.alias('notifications.notifications')
});