refetch()} />
Date
Acteur
Action
Détails
{logs.length === 0 ? (
Aucun événement.
) : (
logs.map((log) => (
{new Date(log.created_at).toLocaleString("fr-FR")}
{log.actor}
{log.action}
{typeof log.details === "string"
? log.details
: JSON.stringify(log.details)}
))
)}
{totalPages > 1 ? (
) : null}
>
)
}