Ghost/ghost/admin/app/components/editor/modals/publish-flow/options.js
Kevin Ansfield f76d7e9cd2 Renamed editor-labs component directory to editor
no issue

- cleanup now the old publish flow is no more
2022-05-25 09:13:08 +01:00

17 lines
417 B
JavaScript

import Component from '@glimmer/component';
import {action} from '@ember/object';
import {tracked} from '@glimmer/tracking';
export default class PublishFlowOptions extends Component {
@tracked openSection = null;
@action
toggleSection(section) {
if (section === this.openSection) {
this.openSection = null;
} else {
this.openSection = section;
}
}
}