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