part 3 of on click bar to filters: add sort plus some normalizations (#16075)
This commit is contained in:
+6
-1
@@ -54,7 +54,12 @@ export const ChartColorSelectionDropdownContent = () => {
|
||||
|
||||
const configuration = widgetInEditMode.configuration as ChartConfiguration;
|
||||
|
||||
if (!('color' in configuration)) {
|
||||
if (
|
||||
configuration.__typename !== 'BarChartConfiguration' &&
|
||||
configuration.__typename !== 'LineChartConfiguration' &&
|
||||
configuration.__typename !== 'GaugeChartConfiguration' &&
|
||||
configuration.__typename !== 'PieChartConfiguration'
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user