fix: allow re-requesting uncounted review approvals (#38988)

This commit is contained in:
Harsh Sharma authored and GitHub committed 2026-09-08 15:59:06 +00:00
1 parent c9193adb68
commit d93bd06d0c
9 files changed
+160 -33

No files matched your search

+1 -1
View File
@@ -223,7 +223,7 @@ func (r *Review) HTMLTypeColorClass() string {
case ReviewTypeReject:
return "tw-text-red"
case ReviewTypeRequest:
return "tw-text-yellow"
return util.Iif(r.Official, "tw-text-yellow", "tw-text-text-light")
}
return "tw-text-text-light"
}