mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 12:43:06 +08:00
Fix task name rendering on experiment view [SCI-8604] (#5551)
This commit is contained in:
parent
5d5ca1687b
commit
5694cfe3d0
2 changed files with 4 additions and 2 deletions
|
@ -111,7 +111,7 @@ module Experiments
|
|||
id: my_module.id,
|
||||
name: escape_input(my_module.name),
|
||||
provisioning_status: my_module.provisioning_status,
|
||||
url: protocols_my_module_path(my_module)
|
||||
url: protocols_my_module_path(my_module, view_mode: my_module.archived_branch? ? 'archived' : 'active')
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
<%= link_to my_module.name, protocols_my_module_path(my_module), title: my_module.name, class: 'my-module-title' %>
|
||||
<%= link_to my_module.name, protocols_my_module_path(my_module,
|
||||
view_mode: my_module.archived_branch? ? 'archived' : 'active'),
|
||||
title: my_module.name, class: 'my-module-title' %>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue