Skip to content

Commit ae29527

Browse files
authored
fix(escalating): Add resolved status badge to weekly-report (#53011)
1 parent 8bb4431 commit ae29527

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sentry/tasks/weekly_reports.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,8 @@ def get_group_status_badge(group: Group) -> Tuple[str, str, str]:
696696
Returns a tuple of (text, background_color, border_color)
697697
Should be similar to GroupStatusBadge.tsx in the frontend
698698
"""
699+
if group.status == GroupStatus.RESOLVED:
700+
return ("Resolved", "rgba(108, 95, 199, 0.08)", "rgba(108, 95, 199, 0.5)")
699701
if group.status == GroupStatus.UNRESOLVED:
700702
if group.substatus == GroupSubStatus.NEW:
701703
return ("New", "rgba(245, 176, 0, 0.08)", "rgba(245, 176, 0, 0.55)")

0 commit comments

Comments
 (0)