diff --git a/ui/app/controllers/allocations/allocation.js b/ui/app/controllers/allocations/allocation.js index 6aa0e219b..4f44f27bf 100644 --- a/ui/app/controllers/allocations/allocation.js +++ b/ui/app/controllers/allocations/allocation.js @@ -10,9 +10,9 @@ export default Controller.extend({ label: this.get('model.job.name'), args: [ 'jobs.job', - this.get('model.job'), + this.get('model.job.plainId'), qpBuilder({ - jobNamespace: this.get('model.namespace.name') || 'default', + jobNamespace: this.get('model.job.namespace.name') || 'default', }), ], }, diff --git a/ui/app/controllers/jobs/job.js b/ui/app/controllers/jobs/job.js index d641d5d0a..29c87a2a2 100644 --- a/ui/app/controllers/jobs/job.js +++ b/ui/app/controllers/jobs/job.js @@ -10,7 +10,7 @@ export default Controller.extend({ label: this.get('model.name'), args: [ 'jobs.job', - this.get('model'), + this.get('model.plainId'), qpBuilder({ jobNamespace: this.get('model.namespace.name') || 'default', }),