mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-12 16:14:58 +08:00
Fix team switch for inventory items [SCI-11514]
This commit is contained in:
parent
701bfd313e
commit
52eba6d66f
1 changed files with 3 additions and 2 deletions
|
@ -39,11 +39,12 @@ module BreadcrumbsHelper
|
|||
params = {
|
||||
id: subject.repository_id,
|
||||
landing_page: true,
|
||||
row_id: subject.id
|
||||
row_id: subject.id,
|
||||
team: subject.repository.team_id
|
||||
}
|
||||
params[:archived] = true if subject.archived
|
||||
|
||||
url = repository_path(params, team: subject.repository.team_id)
|
||||
url = repository_path(params)
|
||||
when Report
|
||||
parent = subject.team
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue