From 9c0337d092c0a9d4dfb0f4e958a08db75a6dfe8c Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Thu, 29 Jan 2026 14:18:50 -0800 Subject: [PATCH] fix(explore): correct `validationDependancies` typo to `validationDependencies` (#37554) Co-authored-by: Claude Opus 4.5 --- .../plugins/plugin-chart-ag-grid-table/src/controlPanel.tsx | 2 +- .../plugins/plugin-chart-table/src/controlPanel.tsx | 2 +- superset-frontend/src/explore/reducers/exploreReducer.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/superset-frontend/plugins/plugin-chart-ag-grid-table/src/controlPanel.tsx b/superset-frontend/plugins/plugin-chart-ag-grid-table/src/controlPanel.tsx index 1277a8f7f38..a098674c65c 100644 --- a/superset-frontend/plugins/plugin-chart-ag-grid-table/src/controlPanel.tsx +++ b/superset-frontend/plugins/plugin-chart-ag-grid-table/src/controlPanel.tsx @@ -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( diff --git a/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx b/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx index 2d051cf97c9..274ed5de69d 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx +++ b/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx @@ -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( diff --git a/superset-frontend/src/explore/reducers/exploreReducer.js b/superset-frontend/src/explore/reducers/exploreReducer.js index df728ee482b..0411ce1d266 100644 --- a/superset-frontend/src/explore/reducers/exploreReducer.js +++ b/superset-frontend/src/explore/reducers/exploreReducer.js @@ -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,