From 840d009defdc082f20348e7599b3ed0b418c4cd7 Mon Sep 17 00:00:00 2001 From: SpiderMan Date: Thu, 28 Apr 2022 13:48:15 -0400 Subject: [PATCH] resolve comment --- superset-frontend/src/explore/reducers/exploreReducer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/explore/reducers/exploreReducer.js b/superset-frontend/src/explore/reducers/exploreReducer.js index e91df176d3bd..ac3fa739cb67 100644 --- a/superset-frontend/src/explore/reducers/exploreReducer.js +++ b/superset-frontend/src/explore/reducers/exploreReducer.js @@ -176,7 +176,7 @@ export default function exploreReducer(state = {}, action) { ...state, controls: { ...state.controls, - [action.controlName]: control, + [controlName]: control, ...(controlName === 'metrics' && { column_config }), }, };