Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Geo visualisation #53

Merged
merged 2 commits into from
Mar 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions src/client/visualizations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,19 @@

import { SimpleArray } from 'immutable-class';
import { Manifest } from '../../common/models/manifest/manifest';
import { BaseVisualization } from './base-visualization/base-visualization';

import { Totals } from './totals/totals';
import { Table } from './table/table';
import { LineChart } from './line-chart/line-chart';
import { BarChart } from './bar-chart/bar-chart';
import { Geo } from './geo/geo';
import { BaseVisualization } from './base-visualization/base-visualization';
import { LineChart } from './line-chart/line-chart';
import { Table } from './table/table';
import { Totals } from './totals/totals';

// TODO, back to: const VIS_COMPONENTS: Array<typeof BaseVisualization> = [
const VIS_COMPONENTS: Array<any> = [
Totals,
Table,
LineChart,
BarChart,
Geo
BarChart
];

export function getVisualizationComponent(manifest: Manifest): typeof BaseVisualization {
Expand Down
10 changes: 4 additions & 6 deletions src/common/manifests/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@

import { Manifest } from '../models/manifest/manifest';

import { TOTALS_MANIFEST } from './totals/totals';
import { TABLE_MANIFEST } from './table/table';
import { LINE_CHART_MANIFEST } from './line-chart/line-chart';
import { BAR_CHART_MANIFEST } from './bar-chart/bar-chart';
import { GEO_MANIFEST } from './geo/geo';
import { LINE_CHART_MANIFEST } from './line-chart/line-chart';
import { TABLE_MANIFEST } from './table/table';
import { TOTALS_MANIFEST } from './totals/totals';

export const MANIFESTS: Manifest[] = [
TOTALS_MANIFEST,
TABLE_MANIFEST,
LINE_CHART_MANIFEST,
BAR_CHART_MANIFEST,
GEO_MANIFEST
BAR_CHART_MANIFEST
];