diff --git a/frontend/book-editor.html b/frontend/book-editor.html index c6568e4..a065216 100644 --- a/frontend/book-editor.html +++ b/frontend/book-editor.html @@ -146,14 +146,19 @@
-
+
+ +
+
+
diff --git a/frontend/static/js/book-editor.js b/frontend/static/js/book-editor.js index 45afce4..8aa18d1 100644 --- a/frontend/static/js/book-editor.js +++ b/frontend/static/js/book-editor.js @@ -237,7 +237,7 @@ window.bookEditorApp = () => ({ return window.api.updateDocument(doc.id, { sort_order: doc.sort_order, - matched_pdf_id: doc.matched_pdf_id || null + matched_pdf_id: doc.matched_pdf_id === "" ? null : doc.matched_pdf_id }); });