diff --git a/CHANGELOG.md b/CHANGELOG.md index 14907f1b..127dabb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,11 +57,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - A couple of exceptions in AAM related with early object activation () - Propagation from the latest frame () - Number attribute value validation (didn't work well with floats) () +- Logout doesn't work () - Annotations aren't updated after reopening a task () - Labels aren't updated after reopening a task () - Canvas isn't fitted after collapsing side panel in attribute annotation mode () - ### Security - SQL injection in Django `CVE-2020-9402` () diff --git a/cvat-ui/package-lock.json b/cvat-ui/package-lock.json index 516c9917..4b8be0d7 100644 --- a/cvat-ui/package-lock.json +++ b/cvat-ui/package-lock.json @@ -1,6 +1,6 @@ { "name": "cvat-ui", - "version": "1.5.0", + "version": "1.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/cvat-ui/package.json b/cvat-ui/package.json index 157bed2d..9e698d2c 100644 --- a/cvat-ui/package.json +++ b/cvat-ui/package.json @@ -1,6 +1,6 @@ { "name": "cvat-ui", - "version": "1.5.0", + "version": "1.5.1", "description": "CVAT single-page application", "main": "src/index.tsx", "scripts": { diff --git a/cvat-ui/src/containers/header/header.tsx b/cvat-ui/src/containers/header/header.tsx index 59dc3f02..ed0e55f6 100644 --- a/cvat-ui/src/containers/header/header.tsx +++ b/cvat-ui/src/containers/header/header.tsx @@ -32,7 +32,7 @@ interface StateToProps { } interface DispatchToProps { - onLogout: typeof logoutAsync; + onLogout: () => void; switchSettingsDialog: (show: boolean) => void; } @@ -80,7 +80,7 @@ function mapStateToProps(state: CombinedState): StateToProps { function mapDispatchToProps(dispatch: any): DispatchToProps { return { - onLogout: logoutAsync, + onLogout: (): void => dispatch(logoutAsync()), switchSettingsDialog: (show: boolean): void => dispatch(switchSettingsDialog(show)), }; }