+ |
+ {truncateUserId(item.userId)}
+ |
+
+ {item.score}
+ |
+
+ {formatLevel(item.level)}
+ |
+
+ {item.totalViolations}
+ |
+
+ 0 ? 'critical' : 'default'}
+ >
+ {item.criticalViolations}
+
+ |
+
+ {activeRestrictions.length > 0 ? (
+
+ {activeRestrictions.map((r) => (
+ {r}
+ ))}
+
+ ) : (
+
+ None
+
+ )}
+ |
+
+ {item.lastViolationAt ? (
+
+ {formatDistanceToNow(new Date(item.lastViolationAt), {
+ addSuffix: true,
+ })}
+
+ ) : (
+
+ Never
+
+ )}
+ |
+
+
+
+ {item.adminOverride ? 'Yes' : 'No'}
+
+ |
+
+
+
+
+
+
+ |
+
+ )
+ })}
+