mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 20:19:30 +00:00
clear download queue text on submit
This commit is contained in:
@@ -182,6 +182,7 @@ const Download = () => {
|
||||
label="Add to queue"
|
||||
onClick={async () => {
|
||||
await updateDownloadQueue(downloadQueueText, false);
|
||||
setDownloadQueueText('');
|
||||
setRefresh(true);
|
||||
setShowHiddenForm(false);
|
||||
}}
|
||||
@@ -190,6 +191,7 @@ const Download = () => {
|
||||
label="Download now"
|
||||
onClick={async () => {
|
||||
await updateDownloadQueue(downloadQueueText, true);
|
||||
setDownloadQueueText('');
|
||||
setRefresh(true);
|
||||
setShowHiddenForm(false);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user