open-vault/ui/app/components/splash-page.js

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'));
}),
});