mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
f76d7e9cd2
no issue - cleanup now the old publish flow is no more
17 lines
417 B
JavaScript
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;
|
|
}
|
|
}
|
|
}
|