diff --git a/frontend/note-editor.html b/frontend/note-editor.html index ccb1c3f..0dee1cd 100644 --- a/frontend/note-editor.html +++ b/frontend/note-editor.html @@ -85,7 +85,7 @@ class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"> diff --git a/frontend/notes.html b/frontend/notes.html index ff1d6da..2ad7418 100644 --- a/frontend/notes.html +++ b/frontend/notes.html @@ -137,7 +137,7 @@ class="px-3 py-2 border border-blue-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent text-sm"> @@ -180,7 +180,7 @@ diff --git a/frontend/static/js/note-editor.js b/frontend/static/js/note-editor.js index f539dfe..a8b680d 100644 --- a/frontend/static/js/note-editor.js +++ b/frontend/static/js/note-editor.js @@ -127,6 +127,14 @@ function noteEditorApp() { // 임시: 직접 API 호출 this.availableNotebooks = await this.api.get('/notebooks/', { active_only: true }); console.log('📚 노트북 로드됨:', this.availableNotebooks.length, '개'); + console.log('📚 노트북 데이터 상세:', this.availableNotebooks); + + // 각 노트북의 필드 확인 + if (this.availableNotebooks.length > 0) { + console.log('📚 첫 번째 노트북 필드:', Object.keys(this.availableNotebooks[0])); + console.log('📚 첫 번째 노트북 title:', this.availableNotebooks[0].title); + console.log('📚 첫 번째 노트북 name:', this.availableNotebooks[0].name); + } } catch (error) { console.error('노트북 로드 실패:', error); this.availableNotebooks = [];