mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-12 14:57:53 +02:00
Fix DELETE functions
Fix ADDing new Manga
This commit is contained in:
@ -140,7 +140,7 @@ export default function Search({apiUri, jobInterval, closeSearch} : {apiUri: str
|
||||
: libraries.map(library => <option key={library.localLibraryId} value={library.localLibraryId}>{library.libraryName} ({library.basePath})</option>)}
|
||||
</select>
|
||||
<button className="Manga-AddButton" onClick={() => {
|
||||
JobFunctions.CreateDownloadAvailableChaptersJob(apiUri, result.mangaId, {recurrenceTimeMs: jobInterval.getTime(), localLibraryId: selectedLibrary!.localLibraryId});
|
||||
JobFunctions.CreateDownloadAvailableChaptersJob(apiUri, result.mangaId, {recurrenceTimeMs: new Date(jobInterval).getTime(), localLibraryId: selectedLibrary!.localLibraryId});
|
||||
}}>Monitor</button>
|
||||
</MangaItem>
|
||||
})
|
||||
|
Reference in New Issue
Block a user