fix(content): handle case where notes are not loaded
This commit is contained in:
committed by
William Casarin
parent
48f17f91b8
commit
c6dbb0e856
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user