mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
cli/issue: Show previous title in rad issue edit editor
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user