From c7b4292100b9875879a6304c7e8e463cd39fd3f0 Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Wed, 8 Feb 2023 10:25:57 +0800 Subject: [PATCH] Try to fix the unresponsive issue when notifications are showed --- frontend/src/modules/task/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/modules/task/index.ts b/frontend/src/modules/task/index.ts index ab3ddb8c3..7e09a0804 100644 --- a/frontend/src/modules/task/index.ts +++ b/frontend/src/modules/task/index.ts @@ -126,7 +126,7 @@ class TaskDispatcher { } else { showNotification(notification.progress.pending(item.id, item.header)); this.progress[item.id] = item; - this.updateProgress(items); + setTimeout(() => this.updateProgress(items), 1000); } }); }