remove type error from proc-grp
3clyp50 committed
Jan 20, 2026 at 13:26 UTC
1ed3262bfd4344b9425bdaf5b8ed193114dfbc5a
1 file changed
+4
-4
webui/js/messages.js
+4
-4
@@ -1291,9 +1291,9 @@ function addProcessStep(group, id, type, heading, content, kvps, timestamp = nul
1291
const title = getStepTitle(heading, kvps, type);
1292
1293
// Check if step should be expanded
1294
- // Warning/error steps auto-expand to show content
1294
+ // Warning steps auto-expand to show content (errors are external MAIN_TYPES, not in process groups)
1295
const isStepExpanded = processGroupStore.isStepExpanded(groupId, id) ||
1296
- (type === "warning" || type === "error");
1296
+ type === "warning";
1297
if (isStepExpanded) {
1298
step.classList.add("step-expanded");
1299
}
@@ -1357,8 +1357,8 @@ function addProcessStep(group, id, type, heading, content, kvps, timestamp = nul
1357
appendTarget = getNestedContainer(parentStep);
1358
step.classList.add("nested-step");
1359
1360
- // Auto-expand parent if this nested step is a warning/error
1361
- if (type === "warning" || type === "error") {
1360
+ // Auto-expand parent if this nested step is a warning (errors are external MAIN_TYPES)
1361
+ if (type === "warning") {
1362
parentStep.classList.add("step-expanded");
1363
}
1364
}