diff --git a/client/components/fields/editor/CustomVocabularies.tsx b/client/components/fields/editor/CustomVocabularies.tsx index 467c0eea1..927dae8b8 100644 --- a/client/components/fields/editor/CustomVocabularies.tsx +++ b/client/components/fields/editor/CustomVocabularies.tsx @@ -56,7 +56,7 @@ class CustomVocabulariesComponent extends React.PureComponent { 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(