Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Don't have blank line if no description
Alexis Sellier committed 3 years ago
commit 63fc06c81744ce28183c61b6978892711fbdcc6a
parent 8e3b629178221f8adcb13f09b9703a7c7dc28990
1 file changed +2 -3
modified radicle-cli/src/commands/patch/show.rs
@@ -70,11 +70,10 @@ pub fn run(
    let meta = VStack::default()
        .border(Some(term::colors::FAINT))
        .child(attrs)
-
        .blank()
        .children(if !description.is_empty() {
-
            Some(label(term::format::dim(description)))
+
            vec![term::Label::blank(), label(term::format::dim(description))]
        } else {
-
            None
+
            vec![]
        });

    meta.print();