3170: On pipeline instance page, refresh the tab panes rather than the entire page.
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_components.html.erb
index fb15cd770b8e2c1d9f180dd96d182aa4f1bc1758..385001998d4b7472e373f51be9f1bab64757122a 100644 (file)
@@ -3,7 +3,7 @@
   <% pipeline_job_uuids = [] %>
 
   <div class="pull-right">
-    Current state: <span class="badge badge-info"><%= @object.state.sub('OnServer', '') %></span>&nbsp;
+    Current state: <span class="badge badge-info" data-pipeline-state="<%= @object.state %>"><%= @object.state.sub('OnServer', '') %></span>&nbsp;
   </div>
 
   <table class="table pipeline-components-table">