mirror of
https://github.com/apache/superset.git
synced 2026-04-17 15:15:20 +00:00
fix(explore): correct validationDependancies typo to validationDependencies (#37554)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -418,7 +418,7 @@ const config: ControlPanelConfig = {
|
||||
),
|
||||
],
|
||||
// Re run the validations when this control value
|
||||
validationDependancies: ['server_pagination'],
|
||||
validationDependencies: ['server_pagination'],
|
||||
default: 10000,
|
||||
choices: formatSelectOptions(ROW_LIMIT_OPTIONS_TABLE),
|
||||
description: t(
|
||||
|
||||
@@ -441,7 +441,7 @@ const config: ControlPanelConfig = {
|
||||
),
|
||||
],
|
||||
// Re run the validations when this control value
|
||||
validationDependancies: ['server_pagination'],
|
||||
validationDependencies: ['server_pagination'],
|
||||
default: 10000,
|
||||
choices: formatSelectOptions(ROW_LIMIT_OPTIONS_TABLE),
|
||||
description: t(
|
||||
|
||||
@@ -217,8 +217,8 @@ export default function exploreReducer(state = {}, action) {
|
||||
const dependantControls = Object.entries(state.controls)
|
||||
.filter(
|
||||
([, item]) =>
|
||||
Array.isArray(item?.validationDependancies) &&
|
||||
item.validationDependancies.includes(controlName),
|
||||
Array.isArray(item?.validationDependencies) &&
|
||||
item.validationDependencies.includes(controlName),
|
||||
)
|
||||
.map(([key, item]) => ({
|
||||
controlState: item,
|
||||
|
||||
Reference in New Issue
Block a user