diff --git a/src/environments/environment.common.ts b/src/environments/environment.common.ts index 75284adf0db83a1213cfb5f2b94293b46330e9b5..98a9c48141457ae40be7fed945a3704d10086be7 100644 --- a/src/environments/environment.common.ts +++ b/src/environments/environment.common.ts @@ -4,7 +4,12 @@ export const environment = { VERSION: 'unknown version', PRODUCTION: false, BACKEND_URL: null, - SIIBRA_API_ENDPOINTS: 'https://siibra-api-latest.apps-dev.hbp.eu/v3_0', //'https://siibra-api-stable.apps.hbp.eu/v2_0,https://siibra-api-stable.apps.jsc.hbp.eu/v2_0,https://siibra-api-stable-ns.apps.hbp.eu/v2_0', + // N.B. do not update the SIIBRA_API_ENDPOITNS directly + // some libraries rely on the exact string formatting to work properly + SIIBRA_API_ENDPOINTS: + // 'http://localhost:10081/v3_0', // endpoint-local-10081 + 'https://siibra-api-latest.apps-dev.hbp.eu/v3_0', //endpoint-latest + // 'https://siibra-api-stable.apps.hbp.eu/v3_0', // endpoint-stable SPATIAL_TRANSFORM_BACKEND: 'https://hbp-spatial-backend.apps.hbp.eu', MATOMO_URL: null, MATOMO_ID: null, diff --git a/src/viewerModule/nehuba/mesh.service/mesh.service.ts b/src/viewerModule/nehuba/mesh.service/mesh.service.ts index 2af102701593d4918f8b4c45e3eef92f2382952b..2654a1b3057073eaa55da378bc2a4e97255c204d 100644 --- a/src/viewerModule/nehuba/mesh.service/mesh.service.ts +++ b/src/viewerModule/nehuba/mesh.service/mesh.service.ts @@ -139,7 +139,7 @@ export class NehubaMeshService implements OnDestroy { * TODO monkey patching jba29 in colin to show all meshes * */ - if (selectedParcellation.id === IDS.PARCELLATION.JBA29 && selectedTemplate.id === IDS.TEMPLATES.COLIN27) { + if ((selectedParcellation.id === IDS.PARCELLATION.JBA29 || IDS.PARCELLATION.JBA30 === selectedParcellation.id) && selectedTemplate.id === IDS.TEMPLATES.COLIN27) { return of(...allSegMesh) } const hasSegSelected = selectedSegMesh.some(v => v.labelIndicies.length !== 0)