fix: browser holding timestamp
3clyp50 committed
Jan 6, 2026 at 19:55 UTC
e042f5e451a0e3637dfb6135635477735eadd95d
1 file changed
+8
-3
webui/js/messages.js
+8
-3
@@ -1431,6 +1431,8 @@ function updateProcessStep(stepElement, id, type, heading, content, kvps, durati
1431
1432
// Update detail content
1433
const detailContent = stepElement.querySelector(".process-step-detail-content");
1434
+ let skipFullRender = false;
1435
+
1436
if (detailContent) {
1437
// For browser, update image src incrementally to avoid flashing
1438
if (type === "browser" && kvps?.screenshot) {
@@ -1441,11 +1443,14 @@ function updateProcessStep(stepElement, id, type, heading, content, kvps, durati
1443
if (!existingImg.src.endsWith(newSrc.split("?path=")[1])) {
1444
existingImg.src = newSrc;
1445
}
1444
- // Skip full re-render to avoid flashing
1445
- return;
1446
+ // Skip full re-render to avoid flashing, but still update group header
1447
+ skipFullRender = true;
1448
}
1449
}
1448
- renderStepDetailContent(detailContent, content, kvps, type);
1450
+
1451
+ if (!skipFullRender) {
1452
+ renderStepDetailContent(detailContent, content, kvps, type);
1453
+ }
1454
}
1455
1456
// Update parent group header