Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e17ed9f commit 3da33d2Copy full SHA for 3da33d2
site/src/components/AuditLogRow/AuditLogRow.tsx
@@ -19,6 +19,11 @@ import { AuditLogDescription } from "./AuditLogDescription"
19
import { determineGroupDiff } from "./auditUtils"
20
21
const httpStatusColor = (httpStatus: number): PaletteIndex => {
22
+ // redirects are successful
23
+ if (httpStatus === 307) {
24
+ return "success"
25
+ }
26
+
27
if (httpStatus >= 300 && httpStatus < 500) {
28
return "warning"
29
}
0 commit comments