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

15 lines
390 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.store.peekRecord('cluster', this.auth.activeCluster);
}),
});