mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
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
Block a user