From d4b41cc401f93f7a37b6c52af3125a3c9dbeac3e Mon Sep 17 00:00:00 2001 From: hexxa Date: Sat, 5 Mar 2022 17:19:30 +0800 Subject: [PATCH] fix(fe/upload_mgr): restarted tasks are in Created state --- src/client/web/src/worker/upload_mgr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/web/src/worker/upload_mgr.ts b/src/client/web/src/worker/upload_mgr.ts index 043f99a..4ea9416 100644 --- a/src/client/web/src/worker/upload_mgr.ts +++ b/src/client/web/src/worker/upload_mgr.ts @@ -149,7 +149,7 @@ export class UploadMgr { this.infos = this.infos.set(filePath, { ...entry, file: file, - state: UploadState.Ready, + state: UploadState.Created, }); } else { status = errUploadMgr;