mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Merge pull request #7861 from aignatov-bio/ai-sci-11003-fix-navigator-for-archived-task
Fix navigator for archived task [SCI-11003]
This commit is contained in:
commit
d498bd8c0d
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ class MyModulesController < ApplicationController
|
|||
|
||||
@navigator = {
|
||||
url: tree_navigator_my_module_path(@my_module),
|
||||
archived: params[:view_mode] == 'archived',
|
||||
archived: @my_module.archived_branch? || params[:view_mode] == 'archived',
|
||||
id: @my_module.code
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue