Skip to content

Commit

Permalink
fix(deploy): update sloOBMap import paths to use new asset location
Browse files Browse the repository at this point in the history
  • Loading branch information
jalezi committed Nov 27, 2024
1 parent 9130feb commit de91456
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/pages/Analytics/Cards/DashboardCard/chart-options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @import * as Types from "../../types" */

import { sloOBMap } from 'pages/Analytics/data/sloOBGeoJson';
import { sloOBMap } from 'assets/maps/OB.geo.json';

// import { dimensions } from 'pages/Analytics/HighchartsOptions/options';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @import * as Types from "../../types" */

import { sloOBMap } from 'pages/Analytics/data/sloOBGeoJson';
import { sloOBMap } from 'assets/maps/OB.geo.json';
import { byAgeGroupMap, DATA } from 'pages/Analytics/data/data';

Check failure on line 4 in src/pages/Analytics/Cards/DataByYearAndAgeGroupCard/chartOptions.js

View workflow job for this annotation

GitHub Actions / test

Unable to resolve path to module 'pages/Analytics/data/data'
import { dimensions } from 'pages/Analytics/highcharts-options/options';

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Analytics/Cards/MotionCard/chart-options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @import * as Types from "../../types" */

import { sloOBMap } from 'pages/Analytics/data/sloOBGeoJson';
import { sloOBMap } from 'assets/maps/OB.geo.json';

// import { dimensions } from 'pages/Analytics/HighchartsOptions/options';

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Analytics/Cards/RichInfoClick/chart-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/** @import * as Types from "../../types" */

import sloMunicipalitiesJSON from 'assets/data/slovenia_municipalities.json';
import { sloOBMap } from 'pages/Analytics/data/sloOBGeoJson';
import { sloOBMap } from 'assets/maps/OB.geo.json';

import { dimensions } from '../../highcharts-options/options';

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Analytics/Data/examples/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @import * as Types from "../../types" */

import sloUEMap from 'assets/maps/UE.geo.json';
import { sloOBMap } from 'pages/Analytics/data/sloOBGeoJson';
import { sloOBMap } from 'assets/maps/OB.geo.json';
import { dimensions } from 'pages/Analytics/highcharts-options/options';

/**
Expand Down
3 changes: 0 additions & 3 deletions src/pages/Analytics/Data/sloOBGeoJson.js

This file was deleted.

0 comments on commit de91456

Please sign in to comment.