Fix for the fix for the no videos queued message.

This commit is contained in:
n8detar 2022-04-22 09:02:23 -07:00
parent 6e38df958d
commit 4082fe1e1c
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ const Download: NextPage = () => {
<button onClick={() => handleDeleteAllQueuedIgnored(session.ta_token.token, "pending")} title="Remove all videos from the queue.">Remove all queued</button> <button onClick={() => handleDeleteAllQueuedIgnored(session.ta_token.token, "pending")} title="Remove all videos from the queue.">Remove all queued</button>
</div> </div>
} }
<h3>Total videos: {downloads?.paginate?.total_hits} {!downloads && !downloads.message && !ignoredStatus && <p>No videos queued for download. Press rescan subscriptions to check if there are any new videos.</p>}</h3> <h3>Total videos: {downloads?.paginate?.total_hits} {!downloads && !downloads?.message && !ignoredStatus && <p>No videos queued for download. Press rescan subscriptions to check if there are any new videos.</p>}</h3>
<div className={`dl-list ${viewStyle}`}> <div className={`dl-list ${viewStyle}`}>
{!isLoading && !error && !downloads?.message && {!isLoading && !error && !downloads?.message &&
downloads?.data?.map((video) => { downloads?.data?.map((video) => {