diff --git a/docs/releases/v2.10.1.md b/docs/releases/v2.10.1.md index b922189ac..43b34eb46 100644 --- a/docs/releases/v2.10.1.md +++ b/docs/releases/v2.10.1.md @@ -4,6 +4,7 @@ - fsaverage on change variant, showing multiple meshes - fsaverage erroneous URL encoding of selected region +- some annotations no longe rwork properly ## Behind the scenes diff --git a/src/state/annotations/selectors.ts b/src/state/annotations/selectors.ts index 5504a6bb1..9de6923be 100644 --- a/src/state/annotations/selectors.ts +++ b/src/state/annotations/selectors.ts @@ -14,7 +14,7 @@ export const spaceFilteredAnnotations = createSelector( selectStore, atlasSelectionSelectors.selectStore, (annState, atlasSelState) => annState.annotations.filter(ann => { - const spaceId = atlasSelState.selectedTemplate['@id'] + const spaceId = atlasSelState.selectedTemplate.id if (ann['openminds']) { return (ann as Annotation<'openminds'>).openminds.coordinateSpace['@id'] === spaceId } diff --git a/src/viewerModule/threeSurfer/threeSurferGlue/threeSurfer.component.ts b/src/viewerModule/threeSurfer/threeSurferGlue/threeSurfer.component.ts index 6042f342e..e4e729b1c 100644 --- a/src/viewerModule/threeSurfer/threeSurferGlue/threeSurfer.component.ts +++ b/src/viewerModule/threeSurfer/threeSurferGlue/threeSurfer.component.ts @@ -68,7 +68,7 @@ type THandleCustomMouseEv = { latLblIdxReg: TLatIdxReg meshVisibility: { label: string - visible: boolean, + visible: boolean mesh: TThreeGeometry }[] } @@ -170,7 +170,7 @@ export class ThreeSurferGlueCmp implements IViewer<'threeSurfer'>, AfterViewInit map(v => { const returnVal: { label: string - visible: boolean, + visible: boolean mesh: TThreeGeometry }[] = [] for (const lat in v) {