summaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authorLASER-Yi <[email protected]>2023-02-08 10:25:57 +0800
committerLASER-Yi <[email protected]>2023-02-08 10:25:57 +0800
commitc7b4292100b9875879a6304c7e8e463cd39fd3f0 (patch)
treef232edd3a09d8563b38c348f3bc5c981aa176e49 /frontend
parentc750fa45c8a77abc64e6d1b52645eae0db8f3a1c (diff)
downloadbazarr-c7b4292100b9875879a6304c7e8e463cd39fd3f0.tar.gz
bazarr-c7b4292100b9875879a6304c7e8e463cd39fd3f0.zip
Try to fix the unresponsive issue when notifications are showed
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/modules/task/index.ts2
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);
}
});
}