Always allow clearing download queue

It's possible that the queue only contains a failed invalid (does not exist anymore in the database) chapter which then causes graphql errors.
In this case the queue was considered empty which prevented it from getting cleared.
Without being able to clear it, the error could not be fixed.
This commit is contained in:
schroda
2024-05-13 01:36:27 +02:00
parent 760de9e791
commit c5d8b20528

View File

@@ -138,7 +138,7 @@ export const DownloadQueue: React.FC = () => {
setAction(
<>
<Tooltip title={t('download.queue.label.delete_all')}>
<IconButton onClick={clearQueue} size="large" disabled={isQueueEmpty}>
<IconButton onClick={clearQueue} size="large">
<DeleteSweepIcon />
</IconButton>
</Tooltip>