b4e812db54
- Picked some fixes https://github.com/TryGhost/Ghost/pull/5670/files - Destructured Ember properties - Removed unused imports and fixed unit test errors.
14 lines
354 B
JavaScript
14 lines
354 B
JavaScript
import Component from 'ember-component';
|
|
import {alias} from 'ember-computed';
|
|
import injectService from 'ember-service/inject';
|
|
|
|
export default Component.extend({
|
|
tagName: 'section',
|
|
|
|
classNames: ['gh-upgrade-notification'],
|
|
|
|
upgradeNotification: injectService('upgrade-notification'),
|
|
|
|
message: alias('upgradeNotification.content')
|
|
});
|