diff options
| author | lukeflo | 2025-08-24 22:51:01 +0200 |
|---|---|---|
| committer | lukeflo | 2025-08-24 22:51:01 +0200 |
| commit | f090e1310cd6c74919273491d75b4b6c52e3dffc (patch) | |
| tree | ba8a240b717331de303d7b073a21c6403bb78d99 /src/tui/ui.rs | |
| parent | 5039137ef532b88f3e179e3bcf7aa888de0c2a0f (diff) | |
| download | bibiman-f090e1310cd6c74919273491d75b4b6c52e3dffc.tar.gz bibiman-f090e1310cd6c74919273491d75b4b6c52e3dffc.zip | |
concat values for custom fields; fix UI bug for entry with notes only
Diffstat (limited to 'src/tui/ui.rs')
| -rw-r--r-- | src/tui/ui.rs | 5 |
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() { |
