From 5de6047545d49ce7aeef4579cbf912cfa489b8b2 Mon Sep 17 00:00:00 2001 From: MarkLark86 Date: Tue, 23 Jan 2024 19:52:45 +1100 Subject: [PATCH] fix(ui): CVs made in the UI were not avaiable to select in custom field (#19) --- .../tga-author-profile-fields/src/components/vocab/config.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/extensions/tga-author-profile-fields/src/components/vocab/config.tsx b/client/extensions/tga-author-profile-fields/src/components/vocab/config.tsx index 7b40430..2409f24 100644 --- a/client/extensions/tga-author-profile-fields/src/components/vocab/config.tsx +++ b/client/extensions/tga-author-profile-fields/src/components/vocab/config.tsx @@ -14,8 +14,8 @@ function getVocabularies(): Promise> { {field: 'display_name', direction: 'ascending'}, { $and: [ - {field_type: {$exists: false, $eq: null}}, - {custom_field_type: {$exists: false, $eq: null}}, + {field_type: null}, + {custom_field_type: null}, ], } ).then((vocabularies) => {