e733c78ff6
* updates secret list header to display badge for all versions * adds changelog entry * updates secret list header to only show badge for kv and generic engine types * adds secret-engine mirage factory * adds test helper for pushing serialized mirage data into store and returning ember data models * adds secret engine type version badge display test * updates mirage application serializer to return singular type key
16 lines
320 B
JavaScript
16 lines
320 B
JavaScript
import Component from '@glimmer/component';
|
|
|
|
export default class SecretListHeader extends Component {
|
|
// api
|
|
isCertTab = false;
|
|
isConfigure = false;
|
|
baseKey = null;
|
|
backendCrumb = null;
|
|
model = null;
|
|
options = null;
|
|
|
|
get isKV() {
|
|
return ['kv', 'generic'].includes(this.args.model.engineType);
|
|
}
|
|
}
|