open-nomad/ui/app/routes/jobs/job/versions.js

9 lines
185 B
JavaScript
Raw Normal View History

import Route from '@ember/routing/route';
2017-09-19 14:47:10 +00:00
export default Route.extend({
model() {
const job = this.modelFor('jobs.job');
return job.get('versions').then(() => job);
},
});