open-nomad/ui/app/components/allocation-row.js
Alex Dadgar e5ec915ac3 sync
2017-09-19 10:08:23 -05:00

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);
},
});