aboutsummaryrefslogtreecommitdiff
path: root/src/tui
diff options
context:
space:
mode:
authorlukeflo2025-08-24 22:51:01 +0200
committerlukeflo2025-08-24 22:51:01 +0200
commitf090e1310cd6c74919273491d75b4b6c52e3dffc (patch)
treeba8a240b717331de303d7b073a21c6403bb78d99 /src/tui
parent5039137ef532b88f3e179e3bcf7aa888de0c2a0f (diff)
downloadbibiman-f090e1310cd6c74919273491d75b4b6c52e3dffc.tar.gz
bibiman-f090e1310cd6c74919273491d75b4b6c52e3dffc.zip
concat values for custom fields; fix UI bug for entry with notes only
Diffstat (limited to 'src/tui')
-rw-r--r--src/tui/ui.rs5
1 files changed, 4 insertions, 1 deletions
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() {