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

15 lines
358 B
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
import Ember from 'ember';
const { computed, inject } = Ember;
2018-04-03 14:16:57 +00:00
export default Ember.Component.extend({
version: inject.service(),
auth: inject.service(),
store: inject.service(),
2018-04-03 14:16:57 +00:00
tagName: '',
activeCluster: computed('auth.activeCluster', function() {
return this.get('store').peekRecord('cluster', this.get('auth.activeCluster'));
}),
2018-04-03 14:16:57 +00:00
});