mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
16 lines
405 B
JavaScript
16 lines
405 B
JavaScript
|
import Component from '@glimmer/component';
|
||
|
import {inject as service} from '@ember/service';
|
||
|
|
||
|
export default class WhatsNewFeatured extends Component {
|
||
|
@service whatsNew;
|
||
|
|
||
|
static modalOptions = {
|
||
|
className: 'fullscreen-modal-action fullscreen-modal-wide fullscreen-modal-whatsnew'
|
||
|
};
|
||
|
|
||
|
willDestroy() {
|
||
|
super.willDestroy(...arguments);
|
||
|
this.whatsNew.seen();
|
||
|
}
|
||
|
}
|