Merge branch 'master' into 2756-eventbus-in-workbench
[arvados.git] / apps / workbench / app / controllers / pipeline_instances_controller.rb
index d54cd4961e944108f719348eb21fe497f6facee3..761dc914145904ca92a01ab28fceb8a9e2acd674 100644 (file)
@@ -142,7 +142,11 @@ class PipelineInstancesController < ApplicationController
   end
 
   def show_pane_list
-    %w(Components Graph Attributes Metadata JSON API)
+    panes = %w(Components Graph Attributes Metadata JSON API)
+    if @object and @object.state.in? ['New', 'Ready']
+      panes = %w(Inputs) + panes
+    end
+    panes
   end
 
   def compare_pane_list