Fix: 서적 편집 저장 시 문서 순서 업데이트 추가
- saveChanges() 함수에서 저장 전에 updateDisplayOrder() 호출 - 문서 순서가 올바르게 저장되도록 수정
This commit is contained in:
@@ -209,6 +209,9 @@ window.bookEditorApp = () => ({
|
||||
console.log('💾 저장 시작...');
|
||||
|
||||
try {
|
||||
// 저장 전에 순서 업데이트
|
||||
this.updateDisplayOrder();
|
||||
|
||||
// 서적 정보 업데이트
|
||||
console.log('📚 서적 정보 업데이트 중...');
|
||||
await window.api.updateBook(this.bookId, {
|
||||
|
||||
Reference in New Issue
Block a user