Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomedina248 committed Mar 9, 2022
1 parent 8d23da3 commit 55e14b2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const config: ControlPanelConfig = {
config: {
...sharedControls.metrics,
validators: [validateNonEmpty],
rerender: ['conditional_formatting'],
},
},
],
Expand Down Expand Up @@ -344,9 +345,6 @@ const config: ControlPanelConfig = {
renderTrigger: true,
label: t('Conditional formatting'),
description: t('Apply conditional color formatting to metrics'),
shouldMapStateToProps() {
return true;
},
mapStateToProps(explore) {
const values =
(explore?.controls?.metrics?.value as QueryFormMetric[]) ??
Expand Down

0 comments on commit 55e14b2

Please sign in to comment.