mirror of
https://github.com/apache/superset.git
synced 2026-06-05 15:49:27 +00:00
Verify undefined operatorId (#16923)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user