d93c92e4f5
* add NavHeader component * use NavHeader in SplashPage component and application.hbs * let download button take a block * add RadialProgress component * use RadialProgress in ShamirFlow component * style up the RadialProgress component * update ember-basic-dropdown, ember-basic-dropdown-hover * rework operation token generation workflow * directly depend on ember-maybe-in-element
15 lines
358 B
JavaScript
15 lines
358 B
JavaScript
import Ember from 'ember';
|
|
|
|
const { computed, inject } = Ember;
|
|
|
|
export default Ember.Component.extend({
|
|
version: inject.service(),
|
|
auth: inject.service(),
|
|
store: inject.service(),
|
|
tagName: '',
|
|
|
|
activeCluster: computed('auth.activeCluster', function() {
|
|
return this.get('store').peekRecord('cluster', this.get('auth.activeCluster'));
|
|
}),
|
|
});
|