@@ -84,37 +84,37 @@ const ChartTypeSelector: FC<{
8484 onConfirm = { onCreateDownloadDataTask }
8585 >
8686 < AreaChartOutlined />
87- </ TypeSelector >
88- < TypeSelector
89- fontSize = { FONT_SIZE_HEADING }
90- className = { classnames ( { active : type === ChartPresentType . RAW } ) }
91- onClick = { typeChange ( ChartPresentType . RAW ) }
92- >
93- < TableOutlined />
94- </ TypeSelector >
95- < TypeSelector
96- fontSize = { FONT_SIZE_HEADING }
97- className = { classnames ( { active : type === ChartPresentType . SQL } ) }
98- onClick = { typeChange ( ChartPresentType . SQL ) }
99- >
100- < ConsoleSqlOutlined />
101- </ TypeSelector >
102- < TypeSelector
103- fontSize = { FONT_SIZE_HEADING }
104- className = { classnames ( { active : type === ChartPresentType . DOWNLOAD } ) }
87+ </ Popconfirm >
88+ </ TypeSelector >
89+ < TypeSelector
90+ fontSize = { FONT_SIZE_HEADING }
91+ className = { classnames ( { active : type === ChartPresentType . RAW } ) }
92+ onClick = { typeChange ( ChartPresentType . RAW ) }
93+ >
94+ < TableOutlined />
95+ </ TypeSelector >
96+ < TypeSelector
97+ fontSize = { FONT_SIZE_HEADING }
98+ className = { classnames ( { active : type === ChartPresentType . SQL } ) }
99+ onClick = { typeChange ( ChartPresentType . SQL ) }
100+ >
101+ < ConsoleSqlOutlined />
102+ </ TypeSelector >
103+ < TypeSelector
104+ fontSize = { FONT_SIZE_HEADING }
105+ className = { classnames ( { active : type === ChartPresentType . DOWNLOAD } ) }
106+ >
107+ < Popconfirm
108+ placement = "left"
109+ title = { t ( 'downloadForExcel' ) }
110+ onConfirm = { onCreateDownloadDataTask }
105111 >
106- < Popconfirm
107- placement = "left"
108- title = { t ( 'downloadForExcel' ) }
109- onConfirm = { onCreateDownloadDataTask }
110- >
111- < CloudDownloadOutlined />
112- </ Popconfirm >
113- </ TypeSelector >
114- </ StyledChartTypeSelector >
115- );
116- } ,
117- ) ;
112+ < CloudDownloadOutlined />
113+ </ Popconfirm >
114+ </ TypeSelector >
115+ </ StyledChartTypeSelector >
116+ ) ;
117+ } ) ;
118118
119119export default ChartTypeSelector ;
120120
0 commit comments