diff --git a/docs/releases/v2.10.1.md b/docs/releases/v2.10.1.md index b922189ac56128ba9a23a3677e088251722a859c..43b34eb46b24731a77b07733f201507b58eec49e 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 5504a6bb1fb7ab03a4053a365c24d55290a50036..9de6923bec414ecf52d1f1d1d5cf8b374b4348ca 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 }