Skip to content

Commit c536f74

Browse files
authored
Merge pull request #1064 from writer/AB-111-fix
fix(ui): display status when error path is hidden - AB-111
2 parents a8e276a + ee65ba4 commit c536f74

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ui/src/components/blueprints/abstract/BlueprintsNode.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,7 @@ const completionStyle = computed(() => {
163163
if (latestKnownOutcome.value == "in_progress") return "running";
164164
165165
// Any dynamic out is considered success
166-
167-
return (
168-
{ ...staticOuts.value }?.[latestKnownOutcome.value]?.style ?? "success"
169-
);
166+
return def.value?.outs?.[latestKnownOutcome.value]?.style ?? "success";
170167
});
171168
172169
const latestRun = computed(() => {
@@ -230,7 +227,6 @@ const shouldDisplayError = computed(() => {
230227
if (!hasErrorOut.value) return false;
231228
232229
const isConnected = component.value.outs?.some((o) => o.outId === "error");
233-
234230
if (isConnected) return true;
235231
236232
return forceDisplayErrorOut.value;

0 commit comments

Comments
 (0)