Merge pull request #7569 from aignatov-bio/ai-sci-10700-fix-navigator-state

Fix navigator state for results [SCI-10700]
This commit is contained in:
aignatov-bio 2024-05-20 09:56:58 +02:00 committed by GitHub
commit 74005c4d72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,7 +196,7 @@ class ResultsController < ApplicationController
def set_navigator def set_navigator
@navigator = { @navigator = {
url: tree_navigator_my_module_path(@my_module), url: tree_navigator_my_module_path(@my_module),
archived: false, archived: @my_module.archived_branch?,
id: @my_module.code id: @my_module.code
} }
end end