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 11:59:06 -04:00 committed by GitHub
parent 1a80103eaf
commit 6d2c39c265
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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) =