diff options
| author | adamhrv <adam@ahprojects.com> | 2019-03-30 15:56:33 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-03-30 15:56:33 +0100 |
| commit | 8f6af7c6818dd527a80c149b5e11c764453ffd31 (patch) | |
| tree | c2d9add991d8bd09f01a7b8fe0fb84239201bb73 /client/applet.js | |
| parent | 19daac1fe803953bd47c82cac11f20680a150961 (diff) | |
| parent | a5f7d45e45439ff3da8ab570af1bf90fb0b15303 (diff) | |
fix merge
Diffstat (limited to 'client/applet.js')
| -rw-r--r-- | client/applet.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/applet.js b/client/applet.js index cd73925c..21e1e4fa 100644 --- a/client/applet.js +++ b/client/applet.js @@ -4,7 +4,7 @@ import { Container as FaceSearchContainer } from './faceSearch' import { Container as FaceAnalysisContainer } from './faceAnalysis' import { Container as NameSearchContainer } from './nameSearch' import { Container as DatasetListContainer } from './datasetList' -import { Container as ChartContainer } from './chart' +import { CountriesByYear, PieCharts } from './chart' export default class Applet extends Component { render() { @@ -19,7 +19,9 @@ export default class Applet extends Component { case 'dataset_list': return <DatasetListContainer {...this.props} /> case 'chart': - return <ChartContainer {...this.props} /> + return <CountriesByYear {...this.props} /> + case 'piechart': + return <PieCharts {...this.props} /> default: return <pre style={{ color: '#0f0' }}>{'Megapixels'}</pre> } |
