mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
e021843e3f
no issue - migrated `notifications` service from EmberObject to true native class - switched to tracked properties and use of `TrackedArray` - swapped computed properties to getters - dropped unnecessary usage of `get` and `set` - migrated alert/notification related components to Glimmer components
7 lines
175 B
JavaScript
7 lines
175 B
JavaScript
import Component from '@glimmer/component';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class GhAlerts extends Component {
|
|
@service notifications;
|
|
}
|