diff options
author | LASER-Yi <[email protected]> | 2023-02-08 10:25:57 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2023-02-08 10:25:57 +0800 |
commit | c7b4292100b9875879a6304c7e8e463cd39fd3f0 (patch) | |
tree | f232edd3a09d8563b38c348f3bc5c981aa176e49 | |
parent | c750fa45c8a77abc64e6d1b52645eae0db8f3a1c (diff) | |
download | bazarr-c7b4292100b9875879a6304c7e8e463cd39fd3f0.tar.gz bazarr-c7b4292100b9875879a6304c7e8e463cd39fd3f0.zip |
Try to fix the unresponsive issue when notifications are showed
-rw-r--r-- | frontend/src/modules/task/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); } }); } |