From 6e88f3846c2a3091c33cf9f95c34ca9e15277c54 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 14 Mar 2018 16:39:42 -0700 Subject: [PATCH] Read task name off of the state rather than the task It's possible for the task (derived from the job API response) is nil, or has a nil name field. Using the task state instead ensures a name every time. --- ui/app/templates/allocations/allocation/index.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/templates/allocations/allocation/index.hbs b/ui/app/templates/allocations/allocation/index.hbs index 77099f6b0ed6..c157bda54087 100644 --- a/ui/app/templates/allocations/allocation/index.hbs +++ b/ui/app/templates/allocations/allocation/index.hbs @@ -50,7 +50,7 @@ {{#link-to "allocations.allocation.task" row.model.allocation row.model}} - {{row.model.task.name}} + {{row.model.name}} {{/link-to}} {{row.model.state}}