Fix checkpoints not being rendered (#30019)

Closes #ISSUE

Release Notes:

- Agent Beta: Fixed a bug causing "Restore Checkpoint" buttons in the
agent panel not to be rendered.

Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Cole Miller
2025-05-06 15:59:06 +00:00
committed by GitHub
co-authored by Antonio Scandurra
parent 1a80103eaf
commit 6d2c39c265
+1 -1
View File
@@ -2082,7 +2082,7 @@ impl ActiveThread {
v_flex()
.w_full()
.map(|parent| {
if let Some(checkpoint) = checkpoint.filter(|_| is_generating) {
if let Some(checkpoint) = checkpoint.filter(|_| !is_generating) {
let mut is_pending = false;
let mut error = None;
if let Some(last_restore_checkpoint) =