mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-16 03:27:01 +02:00
15 lines
403 B
JavaScript
15 lines
403 B
JavaScript
import { inject as service } from '@ember/service';
|
|
import Component from '@ember/component';
|
|
import { computed } from '@ember/object';
|
|
|
|
export default Component.extend({
|
|
version: service(),
|
|
auth: service(),
|
|
store: service(),
|
|
tagName: '',
|
|
|
|
activeCluster: computed('auth.activeCluster', function() {
|
|
return this.get('store').peekRecord('cluster', this.get('auth.activeCluster'));
|
|
}),
|
|
});
|