Ghost/ghost/admin/app/components/gh-alerts.js
Kevin Ansfield f07940f0e7 Collapsed @service injection definitions to single-line style
no issue

- find+replace to make service injection style consistent and take up much less space at the top of files that used multi-line syntax
2022-02-01 17:03:54 +00:00

16 lines
433 B
JavaScript

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;
@alias('notifications.alerts')
messages;
}