{activityItem.field ? (
activityItem.new_value === "restore" ? (
) : (
activityDetails[
activityItem.field as keyof typeof activityDetails
]?.icon
)
) : activityItem.actor_detail.avatar &&
activityItem.actor_detail.avatar !== "" ? (

) : (
{activityItem.actor_detail.first_name.charAt(0)}
)}