diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bibiman/bibisetup.rs | 8 | ||||
| -rw-r--r-- | src/tui/ui.rs | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/bibiman/bibisetup.rs b/src/bibiman/bibisetup.rs index ed189ce..3bcb717 100644 --- a/src/bibiman/bibisetup.rs +++ b/src/bibiman/bibisetup.rs @@ -430,7 +430,7 @@ impl BibiSetup { .iter() .map(|i| i.get(0).unwrap().v.get().to_string()) .collect(); - values.join("; ") + values.concat() } else { "empty".to_string() } @@ -441,7 +441,7 @@ impl BibiSetup { .into_iter() .map(|i| i.v.get().to_owned()) .collect::<Vec<_>>(); - values.join("; ") + values.concat() } else { "empty".to_string() } @@ -452,7 +452,7 @@ impl BibiSetup { .into_iter() .map(|i| i.v.get().to_owned()) .collect::<Vec<_>>(); - values.join("; ") + values.concat() } else { "empty".to_string() } @@ -463,7 +463,7 @@ impl BibiSetup { .iter() .map(|i| i.get(0).unwrap().v.get().to_string()) .collect(); - values.join("; ") + values.concat() } else { "empty".to_string() } 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() { |
