summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLASER-Yi <[email protected]>2021-08-26 23:34:56 +0800
committerLASER-Yi <[email protected]>2021-08-26 23:34:56 +0800
commit4887b3dcdd36da9a7637588aaeaa32c2e634953a (patch)
treed4d26be147d32ae01a1fe12e790df9e8928b9895
parent75d85d05517a7547d36195b309809adfc402a8de (diff)
downloadbazarr-4887b3dcdd36da9a7637588aaeaa32c2e634953a.tar.gz
bazarr-4887b3dcdd36da9a7637588aaeaa32c2e634953a.zip
no log: Remove pending subtitles after starting the upload processv0.9.8-beta.11
-rw-r--r--frontend/src/components/modals/SubtitleUploadModal.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/components/modals/SubtitleUploadModal.tsx b/frontend/src/components/modals/SubtitleUploadModal.tsx
index ac6edd14b..eba982ed5 100644
--- a/frontend/src/components/modals/SubtitleUploadModal.tsx
+++ b/frontend/src/components/modals/SubtitleUploadModal.tsx
@@ -279,6 +279,7 @@ export default function SubtitleUploadModal<T>(
disabled={!canUpload || !showTable}
onClick={() => {
upload(pending);
+ setFiles([]);
closeModal();
}}
>