@@ -4,11 +4,13 @@ import { Route } from 'react-router-dom'
44import { has } from 'lodash'
55const ResultTable = lazy ( ( ) => import ( './ResultTable' ) )
66const InstancePageTable = lazy ( ( ) => import ( '../main_layout/InstancePageTable' ) )
7+ const ReactVirtualizedList = lazy ( ( ) => import ( './ReactVirtualizedList' ) )
78const LeafletMap = lazy ( ( ) => import ( './LeafletMap' ) )
89const Deck = lazy ( ( ) => import ( './Deck' ) )
910const ApexCharts = lazy ( ( ) => import ( './ApexCharts' ) )
1011const Network = lazy ( ( ) => import ( './Network' ) )
1112// const BarChartRace = lazy(() => import('../../facet_results/BarChartRace'))
13+ const ExportCSV = lazy ( ( ) => import ( './ExportCSV' ) )
1214const Export = lazy ( ( ) => import ( './Export' ) )
1315
1416const getVisibleRows = perspectiveState => {
@@ -67,6 +69,22 @@ const ResultClassRoute = props => {
6769 />
6870 )
6971 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
7088 case 'InstancePageTable' : {
7189 routeComponent = (
7290 < Route
@@ -321,6 +339,22 @@ const ResultClassRoute = props => {
321339 )
322340 break
323341 }
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+ }
324358 default :
325359 routeComponent = < > </ >
326360 break
0 commit comments