cli/issue: Show previous title in `rad issue edit` editor
This commit is contained in:
parent
9f62a82b0b
commit
ec22c94321
|
|
@ -908,7 +908,7 @@ where
|
||||||
|
|
||||||
// Editing via the editor.
|
// Editing via the editor.
|
||||||
let Some((title, description)) = term::issue::get_title_description(
|
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())),
|
Some(description.unwrap_or(issue.description().to_owned())),
|
||||||
)?
|
)?
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue