diff --git a/src/main.ts b/src/main.ts index ce9a237d..55624e37 100644 --- a/src/main.ts +++ b/src/main.ts @@ -662,8 +662,7 @@ export default class BCPlugin extends Plugin { const allFields = getFields(userHiers); [fields].flat()?.forEach((f) => { - if (!allFields.includes(f)) - err += `field: ${f} is not a field in your hierarchies.
`; + if (f !== undefined && !allFields.includes(f)) }); if (title !== undefined && title !== "false")