Доавление векторного поиска и репликации

This commit is contained in:
2026-01-29 00:42:30 +03:00
parent 09d5739256
commit 9f814e7271
19 changed files with 450 additions and 73 deletions
+2 -2
View File
@@ -242,7 +242,7 @@ $(document).ready(() => {
return;
}
if (!parseInt(pageCount)) {
if (!pageCount) {
Utils.showToast("Введите количество страниц", "error");
return;
}
@@ -253,7 +253,7 @@ $(document).ready(() => {
const bookPayload = {
title: title,
description: description || null,
page_count: pageCount ? parseInt(pageCount) : null,
page_count: pageCount,
};
const createdBook = await Api.post("/api/books/", bookPayload);