diff options
author | LASER-Yi <[email protected]> | 2021-08-26 23:34:56 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2021-08-26 23:34:56 +0800 |
commit | 4887b3dcdd36da9a7637588aaeaa32c2e634953a (patch) | |
tree | d4d26be147d32ae01a1fe12e790df9e8928b9895 /frontend | |
parent | 75d85d05517a7547d36195b309809adfc402a8de (diff) | |
download | bazarr-4887b3dcdd36da9a7637588aaeaa32c2e634953a.tar.gz bazarr-4887b3dcdd36da9a7637588aaeaa32c2e634953a.zip |
no log: Remove pending subtitles after starting the upload processv0.9.8-beta.11
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/src/components/modals/SubtitleUploadModal.tsx | 1 |
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(); }} > |