Ghost/ghost/admin/app/components/gh-alerts.js
Kevin Ansfield 1fb2b49a5b Remove unused top notification count functionality
no issue

- in a very old iteration of the admin design we needed a data attribute containing the number of notifications in order to add extra spacing in the styles. This hasn't been necessary for a long time and there are easier ways to do it now than using observers.
2017-11-24 11:15:59 +00:00

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({
tagName: 'aside',
classNames: 'gh-alerts',
notifications: service(),
messages: alias('notifications.alerts')
});