mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
16 lines
413 B
JavaScript
16 lines
413 B
JavaScript
import Component from '@glimmer/component';
|
|
import {action} from '@ember/object';
|
|
import {inject} from 'ghost-admin/decorators/inject';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class AnnouncementBarMenuComponent extends Component {
|
|
@service themeManagement;
|
|
|
|
@inject config;
|
|
|
|
@action
|
|
updatePreview() {
|
|
this.themeManagement.updatePreviewHtmlTask.perform();
|
|
}
|
|
}
|