eab741eab8
* Update list items to be linkable to auth-methods show * Add general, namespace, and binding sub-routes * Remove namespace and binding tabs to be done separately * Update auth-method byId endpoint * Style the show auth-method kubernetes type * Finish Kubernetes auth-method type styling * OIDC and JWT auth-method styling * Create consul-auth-method-view component * Add navigation test for auth-methods * Create Certificate component
15 lines
304 B
JavaScript
15 lines
304 B
JavaScript
import Component from '@glimmer/component';
|
|
import { tracked } from '@glimmer/tracking';
|
|
import { action } from '@ember/object';
|
|
|
|
export default class Certificate extends Component {
|
|
// =attributes
|
|
@tracked show = false;
|
|
|
|
// =actions
|
|
@action
|
|
setVisibility() {
|
|
this.show = !this.show;
|
|
}
|
|
}
|