21 lines
351 B
JavaScript
21 lines
351 B
JavaScript
import Ember from 'ember';
|
|
|
|
const { Component } = Ember;
|
|
|
|
export default Component.extend({
|
|
tagName: 'tr',
|
|
|
|
classNames: ['allocation-row', 'is-interactive'],
|
|
|
|
allocation: null,
|
|
|
|
// Used to determine whether the row should mention the node or the job
|
|
context: null,
|
|
|
|
onClick() {},
|
|
|
|
click(event) {
|
|
this.get('onClick')(event);
|
|
},
|
|
});
|