diff --git a/deploy/csp/index.js b/deploy/csp/index.js index 9cc365a20323aad04d461fc9143c81f56cc91db4..55dca95d8c66fc1ab3ae9fbb3a48f0c3b0457e29 100644 --- a/deploy/csp/index.js +++ b/deploy/csp/index.js @@ -47,6 +47,8 @@ const connectSrc = [ 'siibra-api-latest.apps-dev.hbp.eu', 'siibra-api-rc.apps.hbp.eu', 'siibra-api-stable.apps.hbp.eu', + 'siibra-api-ns.apps.hbp.eu', + 'siibra-api-stable.apps.jsc.hbp.eu', // chunk servers 'neuroglancer.humanbrainproject.org', diff --git a/docs/releases/v2.9.1.md b/docs/releases/v2.9.1.md index c7798c68171fc87b968d0983904a296b579780e5..ef05acf12b83c8394dad0f21f0ec6a0473a68cf9 100644 --- a/docs/releases/v2.9.1.md +++ b/docs/releases/v2.9.1.md @@ -7,3 +7,7 @@ ## Bugfix - Fix connectivity bug on cohort filter +## Behind the scenes + +- Fixed some CSP issues +- Removed VK/DK atlases diff --git a/src/atlasComponents/sapiViews/core/rich/ATPSelector/wrapper/wrapper.component.ts b/src/atlasComponents/sapiViews/core/rich/ATPSelector/wrapper/wrapper.component.ts index e5a3ef9eeebef4e6a2cdaba8d5a50aa000cdb06a..a5520b4a722473bbf0c55d88f4a6a8e4d69788e1 100644 --- a/src/atlasComponents/sapiViews/core/rich/ATPSelector/wrapper/wrapper.component.ts +++ b/src/atlasComponents/sapiViews/core/rich/ATPSelector/wrapper/wrapper.component.ts @@ -17,6 +17,11 @@ function isATPGuard(obj: any): obj is ATP { return obj.atlas || obj.template || obj.parcellation } +const banListParcName = new Set([ + "VEP Atlas", + "Desikan-Killiany 2006" +]) + @Component({ selector: 'sxplr-wrapper-atp-selector', templateUrl: './wrapper.template.html', @@ -55,6 +60,7 @@ export class WrapperATPSelector implements OnDestroy{ ) parcs$ = this.store$.pipe( fromRootStore.allAvailParcs(this.sapi), + map(parcs => parcs.filter(p => !banListParcName.has(p.name))) ) isBusy$ = new Subject<boolean>()