mirror of https://github.com/rancher/ui.git
22 lines
347 B
JavaScript
22 lines
347 B
JavaScript
import Component from '@ember/component';
|
|
import layout from './template';
|
|
|
|
export default Component.extend({
|
|
layout,
|
|
model: null,
|
|
policies: null,
|
|
|
|
tagName: 'TR',
|
|
classNames: 'main-row',
|
|
|
|
actions: {
|
|
remove() {
|
|
this.remove(this.model);
|
|
}
|
|
},
|
|
|
|
remove() {
|
|
throw new Error('remove action is required!');
|
|
}
|
|
});
|