Skip to content

Commit

Permalink
Fixed double modal export/backup a task/project (#5075)
Browse files Browse the repository at this point in the history
* Fixed double modal export/backup a task/project

* Updated version && changelog
  • Loading branch information
bsekachev authored Oct 11, 2022
1 parent 99c006a commit 384960b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>)
- A trailing slash in hostname does't allow SDK to send some requests
(<https://github.com/opencv/cvat/pull/5057>)
- Double modal export/backup a task/project (<https://github.com/opencv/cvat/pull/5075>)

### Security
- TDB
Expand Down
2 changes: 1 addition & 1 deletion cvat-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cvat-ui",
"version": "1.42.1",
"version": "1.42.2",
"description": "CVAT single-page application",
"main": "src/index.tsx",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function ExportBackupModal(): JSX.Element {
setUseDefaultStorage(true);
setStorageLocation(StorageLocation.LOCAL);
form.resetFields();
dispatch(exportActions.closeExportDatasetModal(instance));
dispatch(exportActions.closeExportBackupModal(instance));
};

const handleExport = useCallback(
Expand Down

0 comments on commit 384960b

Please sign in to comment.