mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 09:22:49 +03:00
12 lines
324 B
JavaScript
12 lines
324 B
JavaScript
|
import Component from '@glimmer/component';
|
||
|
import {action} from '@ember/object';
|
||
|
import {tracked} from '@glimmer/tracking';
|
||
|
|
||
|
export default class SubscriptionDetailBox extends Component {
|
||
|
@tracked showDetails = false;
|
||
|
|
||
|
@action
|
||
|
toggleSubscriptionExpanded() {
|
||
|
this.showDetails = !this.showDetails;
|
||
|
}
|
||
|
}
|