fix view users table

This commit is contained in:
Ishaan Jaff 2024-05-30 16:51:49 -07:00
parent 1e314ff3d3
commit aa7d127901
2 changed files with 7 additions and 5 deletions

View file

@ -198,7 +198,9 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({
<TableRow key={user.user_id}>
<TableCell>{user.user_id || "-"}</TableCell>
<TableCell>{user.user_email || "-"}</TableCell>
<TableCell>{user.user_role || "-"}</TableCell>
<TableCell>
{possibleUIRoles?.[user?.user_role]?.ui_label || "-"}
</TableCell>
<TableCell>
{user.spend ? user.spend?.toFixed(2) : "-"}
</TableCell>