From f090e1310cd6c74919273491d75b4b6c52e3dffc Mon Sep 17 00:00:00 2001 From: lukeflo Date: Sun, 24 Aug 2025 22:51:01 +0200 Subject: concat values for custom fields; fix UI bug for entry with notes only --- src/tui/ui.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/tui/ui.rs') diff --git a/src/tui/ui.rs b/src/tui/ui.rs index 2180838..3e6e24c 100644 --- a/src/tui/ui.rs +++ b/src/tui/ui.rs @@ -964,7 +964,10 @@ pub fn render_selected_item(app: &mut App, cfg: &BibiConfig, frame: &mut Frame, } lines.push(Line::from(content)) } - if cur_entry.doi_url.is_some() || cur_entry.filepath.is_some() { + if cur_entry.doi_url.is_some() + || cur_entry.filepath.is_some() + || cur_entry.notes.is_some() + { lines.push(Line::raw("")); } if cur_entry.doi_url.is_some() { -- cgit v1.2.3