fix(incidents): display assignee in BasicInfoSection via assigned_users fallback
This commit is contained in:
+2
-2
@@ -50,8 +50,8 @@ export const BasicInfoSection: React.FC<BasicInfoSectionProps> = ({ incident, as
|
|||||||
</Avatar>
|
</Avatar>
|
||||||
<span>{assignedUser.full_name || assignedUser.username}</span>
|
<span>{assignedUser.full_name || assignedUser.username}</span>
|
||||||
</div>
|
</div>
|
||||||
) : incident.assigned_to ? (
|
) : (incident.assigned_users || incident.assigned_to) ? (
|
||||||
<span>{incident.assigned_to}</span>
|
<span>{incident.assigned_users || incident.assigned_to}</span>
|
||||||
) : (
|
) : (
|
||||||
<span className="text-muted-foreground italic">{t('unassigned')}</span>
|
<span className="text-muted-foreground italic">{t('unassigned')}</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user