Account deleted flag

This commit is contained in:
PxlLoewe
2026-01-30 17:29:50 +01:00
parent 8555b901a5
commit 5607aacd16
3 changed files with 33 additions and 6 deletions

View File

@@ -63,6 +63,9 @@ const AdminUserPage = () => {
if (activePenaltys.length > 0) {
return <span className="font-bold text-red-600">AKTIVE STRAFE</span>;
}
if (props.row.original.isDeleted) {
return <span className="font-bold text-yellow-600">GELÖSCHT</span>;
}
if (props.row.original.permissions.length === 0) {
return <span className="text-gray-700">Keine</span>;
} else if (props.row.original.permissions.includes("ADMIN_USER_ADVANCED")) {