diff --git a/api/routers/notes.py b/api/routers/notes.py
index 4935057..ddc8f15 100644
--- a/api/routers/notes.py
+++ b/api/routers/notes.py
@@ -96,7 +96,7 @@ async def create_note(note_data: NoteCreate):
note_type=new_note.note_type,
created=str(new_note.created),
updated=str(new_note.updated),
- command_id=command_id,
+ command_id=str(command_id) if command_id else None,
)
except HTTPException:
raise
@@ -160,7 +160,7 @@ async def update_note(note_id: str, note_update: NoteUpdate):
note_type=note.note_type,
created=str(note.created),
updated=str(note.updated),
- command_id=command_id,
+ command_id=str(command_id) if command_id else None,
)
except HTTPException:
raise
diff --git a/frontend/src/app/(dashboard)/notebooks/[id]/page.tsx b/frontend/src/app/(dashboard)/notebooks/[id]/page.tsx
index c942bc5..97ec398 100644
--- a/frontend/src/app/(dashboard)/notebooks/[id]/page.tsx
+++ b/frontend/src/app/(dashboard)/notebooks/[id]/page.tsx
@@ -230,7 +230,7 @@ export default function NotebookPage() {
{/* Chat Column - always expanded, takes remaining space */}
-
+
{isEditing ? t.sources.editNote : t.sources.createNote}
-
)}
-
+