From 0128f5763e1170ec33c2b5b072a762f4d8bec1d4 Mon Sep 17 00:00:00 2001 From: Frikky Date: Wed, 26 Feb 2025 14:29:01 +0100 Subject: [PATCH] Frontend sync --- frontend/src/components/WorkflowValidationTimeline.jsx | 2 +- frontend/src/views/Workflows.jsx | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/WorkflowValidationTimeline.jsx b/frontend/src/components/WorkflowValidationTimeline.jsx index b02b295d..6df160c8 100644 --- a/frontend/src/components/WorkflowValidationTimeline.jsx +++ b/frontend/src/components/WorkflowValidationTimeline.jsx @@ -299,7 +299,7 @@ const WorkflowValidationTimeline = (props) => { var scheduleNotStarted = false if (workflow.validation !== undefined && workflow.validation !== null && workflow.validation.validation_ran === false) { - console.log("Validation didn't run or get set for workflow. Why?") + //console.log("Validation didn't run or get set for workflow. Why?") return null } diff --git a/frontend/src/views/Workflows.jsx b/frontend/src/views/Workflows.jsx index 30376769..9418aa32 100755 --- a/frontend/src/views/Workflows.jsx +++ b/frontend/src/views/Workflows.jsx @@ -427,11 +427,15 @@ const chipStyle = { color: "white", }; -export const collapseField = (field) => { +export const collapseField = (field, inputdata) => { if (field === undefined || field === null) { return true } + if (field.namespace !== undefined && field.namespace !== null && field.namespace.length === 1) { + return false + } + if (field.name === "headers" || field.name === "cookies") { return true }