{entry.summary || 'Collection updated'}
{entry.can_restore && Array.isArray(entry.restore_fields) && entry.restore_fields.length ?Restores: {entry.restore_fields.join(', ')}
: null}import React from 'react' import { Head, usePage } from '@inertiajs/react' function getCsrfToken() { return document.querySelector('meta[name="csrf-token"]')?.getAttribute('content') || '' } function formatDateTime(value) { if (!value) return 'Unknown time' const date = new Date(value) if (Number.isNaN(date.getTime())) return 'Unknown time' return date.toLocaleString() } function FieldChanges({ label, value }) { if (!value || typeof value !== 'object' || Array.isArray(value)) return null const entries = Object.entries(value).slice(0, 8) if (!entries.length) return null return (
Audit
A chronological log of lifecycle transitions, editorial changes, artwork operations, and moderation-adjacent actions for this collection.
Restores: {entry.restore_fields.join(', ')}
: null}