260228:1446 20260228:14:30 workflow update #2
All checks were successful
Build and Deploy / deploy (push) Successful in 2m29s
All checks were successful
Build and Deploy / deploy (push) Successful in 2m29s
This commit is contained in:
@@ -299,8 +299,8 @@ export function UserDialog({ open, onOpenChange, user }: UserDialogProps) {
|
||||
<div>
|
||||
<Label className="mb-3 block">Roles</Label>
|
||||
<div className="space-y-2 border p-3 rounded-md max-h-[200px] overflow-y-auto">
|
||||
{roles.length === 0 && <p className="text-sm text-muted-foreground">Loading roles...</p>}
|
||||
{roles.map((role: any) => (
|
||||
{Array.isArray(roles) && roles.length === 0 && <p className="text-sm text-muted-foreground">Loading roles...</p>}
|
||||
{Array.isArray(roles) && roles.map((role: any) => (
|
||||
<div key={role.roleId} className="flex items-start space-x-2">
|
||||
<Checkbox
|
||||
id={`role-${role.roleId}`}
|
||||
|
||||
@@ -232,7 +232,7 @@ export function CorrespondenceDetail({ data }: CorrespondenceDetailProps) {
|
||||
${importance === 'URGENT' ? 'bg-red-100 text-red-800' :
|
||||
importance === 'HIGH' ? 'bg-orange-100 text-orange-800' :
|
||||
'bg-blue-100 text-blue-800'}`}>
|
||||
{importance}
|
||||
{String(importance)}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user