Skip to content

Commit

Permalink
Fix default fallback (#2104)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc authored Oct 3, 2024
1 parent 9c62096 commit 5d8a729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/fields/editor/CustomVocabularies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class CustomVocabulariesComponent extends React.PureComponent<IProps> {
sortable={true}
kind="synchronous"
allowMultiple={true}
value={item.subject.filter((x) => x.scheme === cv._id)}
value={(item.subject ?? []).filter((x) => x.scheme === cv._id)}
label={gettext(cv.display_name)}
required={required ?? schema?.required}
getOptions={() => arrayToTree(
Expand Down

0 comments on commit 5d8a729

Please sign in to comment.