Avoid polluting branch list and restore parent commit when using checkpoints (#27191)
Release Notes: - N/A
This commit is contained in:
parent
d0641a38a4
commit
f365b80814
4 changed files with 268 additions and 44 deletions
|
@ -791,7 +791,7 @@ impl ActiveThread {
|
|||
.when_some(checkpoint, |parent, checkpoint| {
|
||||
parent.child(
|
||||
h_flex().pl_2().child(
|
||||
Button::new("restore-checkpoint", "Restore Checkpoint")
|
||||
Button::new(("restore-checkpoint", ix), "Restore Checkpoint")
|
||||
.icon(IconName::Undo)
|
||||
.size(ButtonSize::Compact)
|
||||
.on_click(cx.listener(move |this, _, _window, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue