Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli/issue: Show previous title in `rad issue edit` editor
Defelo committed 7 months ago
commit 05e385639d3413daf0554987a5f02e54b9c4cb7f
parent 262181b018f011aae995ed18af1b2f9f77712efa
1 file changed +1 -1
modified crates/radicle-cli/src/commands/issue.rs
@@ -908,7 +908,7 @@ where

    // Editing via the editor.
    let Some((title, description)) = term::issue::get_title_description(
-
        title.and(Title::new(issue.title()).ok()),
+
        title.or_else(|| Title::new(issue.title()).ok()),
        Some(description.unwrap_or(issue.description().to_owned())),
    )?
    else {