mirror of https://github.com/rancher/ui.git
19 lines
385 B
JavaScript
19 lines
385 B
JavaScript
import Component from '@ember/component';
|
|
import layout from './template';
|
|
import { inject as service } from '@ember/service'
|
|
|
|
export default Component.extend({
|
|
layout,
|
|
model: null,
|
|
tagName: 'TR',
|
|
showCluster: false,
|
|
scope: service(),
|
|
|
|
actions: {
|
|
switchTo(id) {
|
|
// @TODO bad
|
|
window.lc('authenticated').send('switchProject', id);
|
|
}
|
|
},
|
|
});
|