mirror of https://github.com/status-im/consul.git
15 lines
364 B
JavaScript
15 lines
364 B
JavaScript
|
import Component from '@glimmer/component';
|
||
|
import { action } from '@ember/object';
|
||
|
import { tracked } from '@glimmer/tracking';
|
||
|
|
||
|
export default class TopoloyMetricsButton extends Component {
|
||
|
// =attributes
|
||
|
@tracked showToggleablePopover = false;
|
||
|
|
||
|
// =actions
|
||
|
@action
|
||
|
togglePopover() {
|
||
|
this.showToggleablePopover = !this.showToggleablePopover;
|
||
|
}
|
||
|
}
|