mirror of https://github.com/apache/superset.git
Verify undefined operatorId (#16923)
This commit is contained in:
parent
c8db435730
commit
7f330c9692
|
@ -140,7 +140,7 @@ export const useSimpleTabFilterProps = (props: Props) => {
|
|||
subject,
|
||||
clause,
|
||||
operator:
|
||||
operator && isOperatorRelevant(operatorId, subject)
|
||||
operator && operatorId && isOperatorRelevant(operatorId, subject)
|
||||
? OPERATOR_ENUM_TO_OPERATOR_TYPE[operatorId].operation
|
||||
: null,
|
||||
expressionType: EXPRESSION_TYPES.SIMPLE,
|
||||
|
|
Loading…
Reference in New Issue