Skip to content

Commit

Permalink
fix(import&export) fix import percentage close #4161
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkhtuvshin Narmandakh authored and Enkhtuvshin Narmandakh committed Mar 29, 2023
1 parent d6fb6d0 commit 6c32c16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/workers/src/worker/import/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,9 @@ export const receiveImportCreate = async (
}

if (
updatedImportHistory.failed + updatedImportHistory.success >=
updatedImportHistory.failed +
updatedImportHistory.success +
updatedImportHistory.updated >=
updatedImportHistory.total
) {
status = 'Done';
Expand Down

0 comments on commit 6c32c16

Please sign in to comment.