diff --git a/app/src/frontend/building/edit-history/building-edit-summary.tsx b/app/src/frontend/building/edit-history/building-edit-summary.tsx index 909bb8bd..2ac230cd 100644 --- a/app/src/frontend/building/edit-history/building-edit-summary.tsx +++ b/app/src/frontend/building/edit-history/building-edit-summary.tsx @@ -30,7 +30,7 @@ function enrichHistoryEntries(forwardPatch: object, reversePatch: object) { return Object .entries(forwardPatch) .map(([key, value]) => { - const info = dataFields[key] as DataFieldDefinition; + const info = dataFields[key] || {} as DataFieldDefinition; return { title: info.title || `Unknown field (${key})`, category: info.category || Category.Unknown,