mirror of
https://github.com/apache/superset.git
synced 2026-04-22 17:45:21 +00:00
fix(echarts): pass vizType to enable theme overrides in all chart types (#36389)
This commit is contained in:
committed by
GitHub
parent
4a249a0745
commit
1d8d30e5bb
@@ -20,7 +20,7 @@ import { SankeyTransformedProps } from './types';
|
||||
import Echart from '../components/Echart';
|
||||
|
||||
export default function Sankey(props: SankeyTransformedProps) {
|
||||
const { height, width, echartOptions, refs } = props;
|
||||
const { height, width, echartOptions, refs, formData } = props;
|
||||
|
||||
return (
|
||||
<Echart
|
||||
@@ -28,6 +28,7 @@ export default function Sankey(props: SankeyTransformedProps) {
|
||||
height={height}
|
||||
width={width}
|
||||
echartOptions={echartOptions}
|
||||
vizType={formData.vizType}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user