Skip to content

Commit

Permalink
Cast type
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc committed Dec 9, 2024
1 parent 62b7449 commit 625185a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/components/planning-editor-standalone/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ export function getProfile() {

const skipped = new Set<string>();
const fieldDefinitions = getFieldDefinitions();
const customVocabularyIds = planningProfile.schema?.['custom_vocabularies']?.vocabularies;
const customVocabularyIds =
(planningProfile.schema?.['custom_vocabularies'] as IProfileSchemaTypeList)?.vocabularies;

for (const fieldId of planningFieldIds) {
const required = planningProfile.schema?.[fieldId]?.required ?? false;
Expand Down

0 comments on commit 625185a

Please sign in to comment.