Files
threshold-ui/ui/desktop/app/components/credentials-panel/index.js
T

17 lines
407 B
JavaScript
Raw Normal View History

2023-08-24 16:07:46 -05:00
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { action } from '@ember/object';
export default class CredentialsPanelIndexComponent extends Component {
@tracked isRawApiVisible = false;
@action
toggleCredentials() {
this.isRawApiVisible = !this.isRawApiVisible;
}
}