Account deleted flag
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user