Fix: 서적 편집 저장 시 문서 순서 업데이트 추가

- saveChanges() 함수에서 저장 전에 updateDisplayOrder() 호출
- 문서 순서가 올바르게 저장되도록 수정
This commit is contained in:
Hyungi Ahn
2025-09-03 18:19:51 +09:00
parent 8f12eb4f76
commit 185db89585

View File

@@ -209,6 +209,9 @@ window.bookEditorApp = () => ({
console.log('💾 저장 시작...');
try {
// 저장 전에 순서 업데이트
this.updateDisplayOrder();
// 서적 정보 업데이트
console.log('📚 서적 정보 업데이트 중...');
await window.api.updateBook(this.bookId, {