Update workflow actions (#649)

* Update workflow actions

* Fix tsc issues
This commit is contained in:
schroda
2024-03-09 00:24:48 +01:00
committed by GitHub
parent 550c576725
commit 2047d76ad9
5 changed files with 35 additions and 22 deletions

View File

@@ -281,7 +281,7 @@ export function ReaderNavBar(props: IProps) {
>
<Select
MenuProps={MenuProps}
value={chapter.pageCount > -1 ? curPage : ''}
value={chapter.pageCount > -1 ? `${curPage}` : ''}
displayEmpty
onChange={({ target: { value: selectedPage } }) => {
scrollToPage(Number(selectedPage));
@@ -316,7 +316,7 @@ export function ReaderNavBar(props: IProps) {
>
<Select
MenuProps={MenuProps}
value={chapter.sourceOrder >= 1 ? chapter.sourceOrder : ''}
value={chapter.sourceOrder >= 1 ? `${chapter.sourceOrder}` : ''}
displayEmpty
onChange={({ target: { value: selectedChapter } }) => {
navigate(`/manga/${manga.id}/chapter/${selectedChapter}`, {