Fix team notifications link [SCI-9861]

This commit is contained in:
Anton 2023-12-11 11:27:58 +01:00
parent 58acbcaecf
commit 36ec0607ee

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?