Started the refactoring so that there is a menu service to handle opening/closing the different drawers.

This commit is contained in:
Joseph Milazzo 2025-07-04 13:19:20 -05:00
parent fc54f8571f
commit 4d4b3c7285
41 changed files with 4666 additions and 142 deletions

View file

@ -159,8 +159,9 @@ public class BookController : BaseApiController
{
var ptocBookmarks =
await _unitOfWork.UserTableOfContentRepository.GetPersonalToCForPage(User.GetUserId(), chapterId, page);
var annotations = await _unitOfWork.UserRepository.GetAnnotations(User.GetUserId(), chapter.Id);
return Ok(await _bookService.GetBookPage(page, chapterId, path, baseUrl, ptocBookmarks));
return Ok(await _bookService.GetBookPage(page, chapterId, path, baseUrl, ptocBookmarks, annotations));
}
catch (KavitaException ex)
{