fix: router expect identifier instead of model for trans to job page

This commit is contained in:
Jai Bhagat
2022-01-03 12:34:02 -05:00
parent 9f1d22595c
commit d64df8ba68

View File

@@ -26,7 +26,7 @@ export default class JobRow extends Component {
@action
gotoJob() {
const { job } = this;
this.router.transitionTo('jobs.job', job, {
this.router.transitionTo('jobs.job', job.plainId, {
queryParams: { namespace: job.get('namespace.name') },
});
}