fix(content): handle case where notes are not loaded

This commit is contained in:
Fernando López Guevara authored and William Casarin committed 2025-06-24 09:15:52 -07:00
1 parent 48f17f91b8
commit c6dbb0e856
9 files changed
+24 -23

No files matched your search

+4
View File
@@ -89,6 +89,10 @@ pub fn render_note_preview(
));
}
} else {
note_context
.unknown_ids
.add_note_id_if_missing(note_context.ndb, txn, id);
return NoteResponse::new(ui.colored_label(Color32::RED, "TODO: COULD NOT LOAD"));
/*
return ui