Fix for videos queued message.

This commit is contained in:
n8detar 2022-04-22 09:01:14 -07:00
parent b41348d961
commit 6e38df958d
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>
</div>
}
<h3>Total videos: {downloads?.paginate?.total_hits} {!downloads?.paginate?.total_hits && !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}`}>
{!isLoading && !error && !downloads?.message &&
downloads?.data?.map((video) => {