open-nomad/ui/app/components/job-page/periodic.js
2018-02-06 10:53:51 -08:00

16 lines
329 B
JavaScript

import AbstractJobPage from './abstract';
import { inject as service } from '@ember/service';
export default AbstractJobPage.extend({
store: service(),
actions: {
forceLaunch() {
this.get('job')
.forcePeriodic()
.then(() => {
this.get('store').findAll('job');
});
},
},
});