mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
fix(plugin): add ocr_redo to overlayEntryWorkflowState for live dashboard updates
This commit is contained in:
parent
45d014178c
commit
743c25bb4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue