(cherry picked from commit 515c73d8e6)
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
This commit is contained in:
co-authored by
Jack Westbrook
parent
72b3478935
commit
cb9a36b91f
+1
-1
@@ -21,7 +21,7 @@ export const FilterByValueFilterEditor: React.FC<Props> = (props) => {
|
||||
const { fieldsAsOptions, fieldByDisplayName } = fieldsInfo;
|
||||
const fieldName = getFieldName(filter, fieldsAsOptions) ?? '';
|
||||
const field = fieldByDisplayName[fieldName];
|
||||
const matcherOptions = getMatcherOptions(field);
|
||||
const matcherOptions = field ? getMatcherOptions(field) : [];
|
||||
const matcherId = getSelectedMatcherId(filter, matcherOptions);
|
||||
const editor = valueMatchersUI.getIfExists(matcherId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user