Skip to content

Commit

Permalink
Merge pull request #8204 from aignatov-bio/ai-sci-11514-fix-team-swit…
Browse files Browse the repository at this point in the history
…ch-for-inventory-items

Fix team switch for inventory items [SCI-11514]
  • Loading branch information
aignatov-bio authored Feb 4, 2025
2 parents e005eef + 52eba6d commit 7f473d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/serializers/concerns/breadcrumbs_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ def generate_breadcrumbs(subject, breadcrumbs)
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

Expand Down

0 comments on commit 7f473d5

Please sign in to comment.