@if (loading) {
Loading notes...
} @else if (notes.length === 0) {

No notes yet for this book

Click "Add Note" to create your first note and start capturing your thoughts

} @else {
@for (note of notes; track note.id + '-' + note.createdAt + '-' + $index) {

{{ note.title }}

@if (note.createdAt !== note.updatedAt) { Updated {{ formatDate(note.updatedAt) }} } @else { Created {{ formatDate(note.createdAt) }} }
{{ note.content }}
}
}
@if (notes.length > 0) {
}