open-nomad/ui/app/components/job-row.js

19 lines
359 B
JavaScript
Raw Normal View History

2018-02-12 23:27:19 +00:00
import { inject as service } from '@ember/service';
import Component from '@ember/component';
import { lazyClick } from '../helpers/lazy-click';
2017-09-19 14:47:10 +00:00
export default Component.extend({
2018-02-12 23:27:19 +00:00
store: service(),
2017-09-19 14:47:10 +00:00
tagName: 'tr',
classNames: ['job-row', 'is-interactive'],
job: null,
onClick() {},
click(event) {
2019-03-26 07:46:44 +00:00
lazyClick([this.onClick, event]);
2017-09-19 14:47:10 +00:00
},
});