File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/charts Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,29 @@ const Charts = () => {
1414 ) ;
1515
1616 const [ chartId , setChartId ] = useQueryState ( 'id' , parseAsString ) ;
17+ const [ imageId , setImageId ] = useQueryState ( 'id' , parseAsString ) ;
1718
1819 return (
1920 < div className = " mt-6" >
2021 { type === 'list' ? (
21- < ChartsList setType = { setType } type = { type } setChartId = { setChartId } />
22+ < ChartsList
23+ setType = { setType }
24+ type = { type }
25+ setChartId = { setChartId }
26+ setImageId = { setImageId }
27+ />
2228 ) : type === 'visualize' ? (
2329 < ChartsVisualize
2430 setType = { setType }
2531 chartId = { chartId }
2632 setChartId = { setChartId }
2733 />
2834 ) : (
29- < ChartsImage setType = { setType } />
35+ < ChartsImage
36+ setType = { setType }
37+ imageId = { imageId }
38+ setImageId = { setImageId }
39+ />
3040 ) }
3141 </ div >
3242 ) ;
You can’t perform that action at this time.
0 commit comments