diff --git a/frontend/src/app/programs/base/detail/detail.component.ts b/frontend/src/app/programs/base/detail/detail.component.ts index 8699f3738..c3abf9cab 100644 --- a/frontend/src/app/programs/base/detail/detail.component.ts +++ b/frontend/src/app/programs/base/detail/detail.component.ts @@ -4,7 +4,7 @@ import { MainConfig } from '../../../../conf/main.config'; declare let $: any; export const markerIcon = L.icon({ - iconUrl: 'assets/pointer-blue2.png', + iconUrl: MainConfig['OBS_POINTER'], iconAnchor: [16, 42], }); diff --git a/frontend/src/app/programs/sites/detail/detail.component.ts b/frontend/src/app/programs/sites/detail/detail.component.ts index 84a1bcf36..7ab2a0839 100644 --- a/frontend/src/app/programs/sites/detail/detail.component.ts +++ b/frontend/src/app/programs/sites/detail/detail.component.ts @@ -114,7 +114,7 @@ export class SiteDetailComponent date: e.date, author: e.author, id: e.id_visit, - json_data: e.json_data + json_data: e.json_data, }; this.loadJsonSchema().subscribe((jsonschema: any) => { const schema = jsonschema.schema.properties; diff --git a/frontend/src/app/programs/sites/siteform/siteform.component.ts b/frontend/src/app/programs/sites/siteform/siteform.component.ts index afa7e2f29..5692f0f75 100644 --- a/frontend/src/app/programs/sites/siteform/siteform.component.ts +++ b/frontend/src/app/programs/sites/siteform/siteform.component.ts @@ -34,7 +34,7 @@ const PROGRAM_AREA_STYLE = { // TODO: migrate to conf export const taxonListThreshold = 10; export const siteFormMarkerIcon = L.icon({ - iconUrl: 'assets/pointer-blue2.png', // TODO: Asset path should be normalized, conf ? + iconUrl: MainConfig['NEW_OBS_POINTER'], iconAnchor: [16, 42], }); export const myMarkerTitle =