open-nomad/ui/app/routes/allocations/allocation/task/logs.js
2018-11-05 16:33:33 -08:00

9 lines
203 B
JavaScript

import Route from '@ember/routing/route';
export default Route.extend({
model() {
const task = this._super(...arguments);
return task && task.get('allocation.node').then(() => task);
},
});