diff --git a/CHANGELOG.md b/CHANGELOG.md index d1cddd82c2bc..fb7877d986df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed Interaction handler keyboard handlers () - Points of invisible shapes are visible in autobordering () +- Order of the label attributes in the object item details() ### Security - TDB diff --git a/cvat-ui/package-lock.json b/cvat-ui/package-lock.json index a408dbd9d2ad..8e1d2cb17938 100644 --- a/cvat-ui/package-lock.json +++ b/cvat-ui/package-lock.json @@ -1,12 +1,12 @@ { "name": "cvat-ui", - "version": "1.27.0", + "version": "1.27.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cvat-ui", - "version": "1.27.0", + "version": "1.27.1", "license": "MIT", "dependencies": { "@ant-design/icons": "^4.6.3", diff --git a/cvat-ui/package.json b/cvat-ui/package.json index ac2cf462d3f1..20fe291eff2e 100644 --- a/cvat-ui/package.json +++ b/cvat-ui/package.json @@ -1,6 +1,6 @@ { "name": "cvat-ui", - "version": "1.27.0", + "version": "1.27.1", "description": "CVAT single-page application", "main": "src/index.tsx", "scripts": { diff --git a/cvat-ui/src/components/annotation-page/standard-workspace/objects-side-bar/object-item-details.tsx b/cvat-ui/src/components/annotation-page/standard-workspace/objects-side-bar/object-item-details.tsx index 5fe31a23050b..9b025d1d8bd9 100644 --- a/cvat-ui/src/components/annotation-page/standard-workspace/objects-side-bar/object-item-details.tsx +++ b/cvat-ui/src/components/annotation-page/standard-workspace/objects-side-bar/object-item-details.tsx @@ -41,8 +41,6 @@ function ItemAttributesComponent(props: Props): JSX.Element { collapsed, attributes, values, readonly, changeAttribute, collapse, } = props; - const sorted = [...attributes].sort((a: any, b: any): number => a.inputType.localeCompare(b.inputType)); - return ( Details} key='details'> - {sorted.map( + {attributes.map( (attribute: any): JSX.Element => (