Fix for builder loading flow item header.

This commit is contained in:
mike12345567 2022-06-29 13:34:36 +01:00
parent afda023fc4
commit bfd9a29104
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@
}
function updateStatus(results, isTrigger) {
if (!results) {
return {}
}
if (results.outputs?.status?.toLowerCase() === "stopped") {
return { yellow: true, message: "Stopped" }
} else if (results.outputs?.success || isTrigger) {