Merge pull request #6791 from aignatov-bio/ai-sci-9861-fix-team-notifications-link

Fix team notifications link [SCI-9861]
This commit is contained in:
Martin Artnik 2023-12-11 11:43:35 +01:00 committed by GitHub
commit 51d3cb9541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ class NotificationSerializer < ActiveModel::Serializer
url = label_template_path(subject)
when Team
parent = nil
url = projects_path
url = projects_path(team: subject.id)
end
breadcrumbs << { name: subject.name, url: url } if subject.name.present?