diff --git a/CHANGELOG.md b/CHANGELOG.md index 37b61b46b3de8625c8a5a438d8bb771faf87b282..4824a1a53c6bbe8dec4c6efcf7710d541523da9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ Tracks can be exported/imported to/from Datumaro and Sly Pointcloud formats () +- Hide analytics link from non-admin users () ### Deprecated - TBD diff --git a/cvat-ui/src/components/header/header.tsx b/cvat-ui/src/components/header/header.tsx index 22da987be54f801ed29d24848f8b26bb30fe56bc..9648fea635793e1c09e753d1f1b1415ada28abff 100644 --- a/cvat-ui/src/components/header/header.tsx +++ b/cvat-ui/src/components/header/header.tsx @@ -470,7 +470,7 @@ function HeaderContainer(props: Props): JSX.Element { Models ) : null} - {isAnalyticsPluginActive ? ( + {isAnalyticsPluginActive && user.isSuperuser ? (