Fixed double modal export/backup a task/project (#5075)

* Fixed double modal export/backup a task/project

* Updated version && changelog
main
Boris Sekachev 3 years ago committed by GitHub
parent 99c006a612
commit 384960b7f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,6 +40,7 @@ non-ascii paths while adding files from "Connected file share" (issue #4428)
- HRNET serverless function (<https://github.com/opencv/cvat/pull/4944>) - HRNET serverless function (<https://github.com/opencv/cvat/pull/4944>)
- A trailing slash in hostname does't allow SDK to send some requests - A trailing slash in hostname does't allow SDK to send some requests
(<https://github.com/opencv/cvat/pull/5057>) (<https://github.com/opencv/cvat/pull/5057>)
- Double modal export/backup a task/project (<https://github.com/opencv/cvat/pull/5075>)
### Security ### Security
- TDB - TDB

@ -1,6 +1,6 @@
{ {
"name": "cvat-ui", "name": "cvat-ui",
"version": "1.42.1", "version": "1.42.2",
"description": "CVAT single-page application", "description": "CVAT single-page application",
"main": "src/index.tsx", "main": "src/index.tsx",
"scripts": { "scripts": {

@ -77,7 +77,7 @@ function ExportBackupModal(): JSX.Element {
setUseDefaultStorage(true); setUseDefaultStorage(true);
setStorageLocation(StorageLocation.LOCAL); setStorageLocation(StorageLocation.LOCAL);
form.resetFields(); form.resetFields();
dispatch(exportActions.closeExportDatasetModal(instance)); dispatch(exportActions.closeExportBackupModal(instance));
}; };
const handleExport = useCallback( const handleExport = useCallback(

Loading…
Cancel
Save