From ffc2d4c21e1e58835632dc737278e1dab6026f31 Mon Sep 17 00:00:00 2001 From: Phil Renaud Date: Wed, 20 Apr 2022 00:21:36 -0400 Subject: [PATCH] Fallback query added to task group when specific volume isnt knowable --- ui/.ember-cli | 2 +- ui/app/templates/jobs/job/task-group.hbs | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ui/.ember-cli b/ui/.ember-cli index 2e2f72a26775..dec208fd9dd9 100644 --- a/ui/.ember-cli +++ b/ui/.ember-cli @@ -6,5 +6,5 @@ Setting `disableAnalytics` to true will prevent any data from being sent. */ "disableAnalytics": false, - "proxy": "http://192.168.56.11:4646" + "proxy": "http://127.0.0.1:4646" } diff --git a/ui/app/templates/jobs/job/task-group.hbs b/ui/app/templates/jobs/job/task-group.hbs index 2402b5df63a5..83160e68a054 100644 --- a/ui/app/templates/jobs/job/task-group.hbs +++ b/ui/app/templates/jobs/job/task-group.hbs @@ -293,12 +293,17 @@ {{#if row.model.isCSI}} - - {{row.model.name}} - + {{!-- if volume is per_alloc=true, there's no one specific volume. So, link to the volumes index with an active query --}} + {{#if row.model.perAlloc}} + {{row.model.name}} + {{else}} + + {{row.model.name}} + + {{/if}} {{else}} {{row.model.name}} {{/if}}