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 Joseph T. Lyons
parent f6ae21ca7c
commit 80a85a31ab

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