Adds search by genre to WebUI (#238)
* add pagination to library and fix some prettier issues * add genre search support like tachiyomi android app * Search by genre like you do in tachiyomi mobile app --------- Co-authored-by: akxer <>
This commit is contained in:
@@ -70,6 +70,7 @@ export default function Reader() {
|
||||
id: +mangaId,
|
||||
title: '',
|
||||
thumbnailUrl: '',
|
||||
genre: [],
|
||||
});
|
||||
const [chapter, setChapter] = useState<IChapter | IPartialChapter>(initialChapter());
|
||||
const [curPage, setCurPage] = useState<number>(0);
|
||||
|
||||
@@ -202,6 +202,7 @@ export default function SourceMangas(props: { popular: boolean }) {
|
||||
thumbnailUrl: it.thumbnailUrl,
|
||||
id: it.id,
|
||||
inLibrary: it.inLibrary,
|
||||
genre: it.genre,
|
||||
})),
|
||||
]);
|
||||
setHasNextPage(data.hasNextPage);
|
||||
|
||||
Reference in New Issue
Block a user