This commit is contained in:
Ivan Kuchin
2026-06-12 22:23:46 +02:00
parent dd3b897d08
commit 865f086275
@@ -49,7 +49,16 @@ module Backlogs
private
def container_name
case TargetId.parse(target_id)
in { type: "sprint", id: sprint_id }
Sprint.find_by(id: sprint_id)&.name
in { type: "backlog_bucket", id: backlog_bucket_id }
BacklogBucket.find_by(id: backlog_bucket_id)&.name
in { type: "inbox" }
I18n.t(:label_inbox)
else
nil
end
end
def form_url