15014: Hide busy/idle nodes panel when crunch1 is not active.
authorTom Clegg <tclegg@veritasgenetics.com>
Fri, 13 Sep 2019 17:24:09 +0000 (13:24 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Mon, 30 Sep 2019 21:21:33 +0000 (17:21 -0400)
The node counts are incorrect when the crunch1 dispatch processes are
not running.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

apps/workbench/app/views/projects/_show_dashboard.html.erb

index 71ef2454190d7625cae12cf77d44f05a1ad7ed27..6c58cd30fc723f7a662b2b6b6728cb719519136b 100644 (file)
@@ -36,7 +36,7 @@ SPDX-License-Identifier: AGPL-3.0 %>
 
 <%
   recent_procs_panel_width = 6
-  if !PipelineInstance.api_exists?(:index)
+  if !PipelineInstance.api_exists?(:create)
     recent_procs_title = 'Recent processes'
     run_proc_title = 'Choose a workflow to run:'
     show_node_status = false