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

This commit is contained in:
Fernando López Guevara
2025-06-09 10:51:17 -03:00
committed by William Casarin
parent 48f17f91b8
commit c6dbb0e856
9 changed files with 24 additions and 23 deletions

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