- Currently on page
- {' '}
- {curPage + 1}
- {' '}
- of
- {' '}
- {chapter.pageCount}
+ {`Currently on page ${curPage + 1} of ${chapter.pageCount}`}
{chapter.index > 1
diff --git a/src/screens/manga/DownloadQueue.tsx b/src/screens/manga/DownloadQueue.tsx
index c281fed5..5c36b33b 100644
--- a/src/screens/manga/DownloadQueue.tsx
+++ b/src/screens/manga/DownloadQueue.tsx
@@ -24,6 +24,7 @@ import DragHandleIcon from '@mui/icons-material/DragHandle';
import ListItem from '@mui/material/ListItem';
import { ListItemIcon } from '@mui/material';
import ListItemText from '@mui/material/ListItemText';
+import EmptyView from 'components/EmptyView';
const baseWebsocketUrl = JSON.parse(window.localStorage.getItem('serverBaseURL')!).replace('http', 'ws');
@@ -91,6 +92,10 @@ export default function DownloadQueue() {
const onDragEnd = (result: DropResult) => {
};
+ if (queue.length === 0) {
+ return ;
+ }
+
return (
<>