From 743c25bb4f00a2f2aebf3cedfc34c178b7cc7592 Mon Sep 17 00:00:00 2001 From: Research Assistant Date: Mon, 1 Jun 2026 12:48:34 +0800 Subject: [PATCH] fix(plugin): add ocr_redo to overlayEntryWorkflowState for live dashboard updates --- paperforge/plugin/src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperforge/plugin/src/constants.ts b/paperforge/plugin/src/constants.ts index 4876ff64..0ab0b01a 100644 --- a/paperforge/plugin/src/constants.ts +++ b/paperforge/plugin/src/constants.ts @@ -130,7 +130,7 @@ export function overlayEntryWorkflowState(app: any, entry: any): WorkflowState { const fm = cache && cache.frontmatter; if (!fm) return entry; const merged = { ...entry }; - for (const key of ["do_ocr", "analyze", "ocr_status", "deep_reading_status"]) { + for (const key of ["do_ocr", "analyze", "ocr_status", "ocr_redo", "deep_reading_status"]) { if (Object.prototype.hasOwnProperty.call(fm, key)) merged[key] = fm[key]; } return merged;