From e74e65bd909798a6fdc8b3c076bee71d8b4d8c7e Mon Sep 17 00:00:00 2001 From: Etienne Delvarre Date: Wed, 3 Jun 2026 15:42:47 +0200 Subject: [PATCH] =?UTF-8?q?Restauration=20d'archive=20=E2=86=92=20toujours?= =?UTF-8?q?=20en=20liste=20d'attente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 426485b..497e075 100644 --- a/public/index.html +++ b/public/index.html @@ -3181,7 +3181,7 @@ async function restoreVersion() { if (!v) return; const snap = JSON.parse(v.Snapshot); const { Title, Acte, Ordre, Personnage, Tags, Notes } = snap; - const data = { Title, Acte: Acte || 'En attente', Ordre: Ordre || 999, Personnage, Tags, Notes, 'Résumé': snap['Résumé'], 'Intérêt narratif': snap['Intérêt narratif'], Implications: snap.Implications, Origine: snap.Origine, 'Lien rédaction': snap['Lien rédaction'] }; + const data = { Title, Acte: 'En attente', Ordre: 999, Personnage, Tags, Notes, 'Résumé': snap['Résumé'], 'Intérêt narratif': snap['Intérêt narratif'], Implications: snap.Implications, Origine: snap.Origine, 'Lien rédaction': snap['Lien rédaction'] }; const r = await fetch('/api/records', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data) }); if (r.ok) { closeVersionPanel();