@@ -4,11 +4,13 @@ import { Route } from 'react-router-dom'
4
4
import { has } from 'lodash'
5
5
const ResultTable = lazy ( ( ) => import ( './ResultTable' ) )
6
6
const InstancePageTable = lazy ( ( ) => import ( '../main_layout/InstancePageTable' ) )
7
+ const ReactVirtualizedList = lazy ( ( ) => import ( './ReactVirtualizedList' ) )
7
8
const LeafletMap = lazy ( ( ) => import ( './LeafletMap' ) )
8
9
const Deck = lazy ( ( ) => import ( './Deck' ) )
9
10
const ApexCharts = lazy ( ( ) => import ( './ApexCharts' ) )
10
11
const Network = lazy ( ( ) => import ( './Network' ) )
11
12
// const BarChartRace = lazy(() => import('../../facet_results/BarChartRace'))
13
+ const ExportCSV = lazy ( ( ) => import ( './ExportCSV' ) )
12
14
const Export = lazy ( ( ) => import ( './Export' ) )
13
15
14
16
const getVisibleRows = perspectiveState => {
@@ -67,6 +69,22 @@ const ResultClassRoute = props => {
67
69
/>
68
70
)
69
71
break
72
+ case 'ReactVirtualizedList' :
73
+ routeComponent = (
74
+ < Route
75
+ path = { path }
76
+ render = { routeProps =>
77
+ < ReactVirtualizedList
78
+ resultClass = { resultClass }
79
+ facetClass = { facetClass }
80
+ fetchResults = { props . fetchResults }
81
+ perspectiveState = { perspectiveState }
82
+ facetUpdateID = { facetState . facetUpdateID }
83
+ layoutConfig = { layoutConfig }
84
+ /> }
85
+ />
86
+ )
87
+ break
70
88
case 'InstancePageTable' : {
71
89
routeComponent = (
72
90
< Route
@@ -321,6 +339,22 @@ const ResultClassRoute = props => {
321
339
)
322
340
break
323
341
}
342
+ case 'ExportCSV' : {
343
+ routeComponent = (
344
+ < Route
345
+ path = { path }
346
+ render = { routeProps =>
347
+ < ExportCSV
348
+ resultClass = { resultClass }
349
+ facetClass = { facetClass }
350
+ facetUpdateID = { facetState . facetUpdateID }
351
+ facets = { facetState . facets }
352
+ layoutConfig = { layoutConfig }
353
+ /> }
354
+ />
355
+ )
356
+ break
357
+ }
324
358
default :
325
359
routeComponent = < > </ >
326
360
break
0 commit comments