2018-09-25 16:28:26 +00:00
|
|
|
import { inject as service } from '@ember/service';
|
|
|
|
import Component from '@ember/component';
|
|
|
|
import { computed } from '@ember/object';
|
2018-04-03 14:16:57 +00:00
|
|
|
|
2018-09-25 16:28:26 +00:00
|
|
|
export default Component.extend({
|
|
|
|
version: service(),
|
|
|
|
auth: service(),
|
|
|
|
store: 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
|
|
|
});
|