diff --git a/docs/releases/v2.4.7.md b/docs/releases/v2.4.7.md new file mode 100644 index 0000000000000000000000000000000000000000..cadfa28d57f902a7d73044f29b4fb961ae9633a8 --- /dev/null +++ b/docs/releases/v2.4.7.md @@ -0,0 +1,5 @@ +# v2.4.7 + +## Bugfixes + +- Fix unnamed point landmark naming diff --git a/mkdocs.yml b/mkdocs.yml index 7e55ff53e9f01af94b33a40f3b7c9b1b15062daf..028efd27c53ca5949d119588e677938c27813e3e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -40,6 +40,7 @@ pages: - Fetching datasets: 'advanced/datasets.md' - Display non-atlas volumes: 'advanced/otherVolumes.md' - Release notes: + - v2.4.7: 'releases/v2.4.7.md' - v2.4.6: 'releases/v2.4.6.md' - v2.4.5: 'releases/v2.4.5.md' - v2.4.4: 'releases/v2.4.4.md' diff --git a/package.json b/package.json index a9c00edec76fb6274ae62aa42ec1d388211484fb..5bc603a1bbc65adc17a8736d7554111a545240e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "interactive-viewer", - "version": "2.4.6", + "version": "2.4.7", "description": "HBP interactive atlas viewer. Integrating KG query, dataset previews & more. Based on humanbrainproject/nehuba & google/neuroglancer. Built with angular", "scripts": { "build-aot": "PRODUCTION=true GIT_HASH=`node -e 'console.log(require(\"./package.json\").version)'` webpack --config ./webpack/webpack.aot.js && node ./third_party/matomo/processMatomo.js", diff --git a/src/atlasComponents/userAnnotations/singleAnnotationUnit/singleAnnotationUnit.component.ts b/src/atlasComponents/userAnnotations/singleAnnotationUnit/singleAnnotationUnit.component.ts index 299e8ccf558d42e793637ff2a3d95ff3f1e12b77..956f23c080c1929b07fc62159a42024c68334490 100644 --- a/src/atlasComponents/userAnnotations/singleAnnotationUnit/singleAnnotationUnit.component.ts +++ b/src/atlasComponents/userAnnotations/singleAnnotationUnit/singleAnnotationUnit.component.ts @@ -115,7 +115,7 @@ export class SingleAnnotationNamePipe implements PipeTransform{ public transform(ann: IAnnotationGeometry, name?: string): string{ if (name) return name if (ann instanceof Polygon) return `Unnamed Polygon` - if (ann instanceof Point) return `Unname Point` + if (ann instanceof Point) return `Unnamed Point` if (ann instanceof Line) return `Unnamed Line` return `Unnamed geometry` } @@ -133,4 +133,4 @@ export class SingleAnnotationClsIconPipe implements PipeTransform{ if (ann instanceof Line) return `fas fa-slash` return `fas fa-mouse-pointer` } -} \ No newline at end of file +}