From 0788a7217922878790edade3d9bb608532ffbb86 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 4 Mar 2024 00:08:10 -0300 Subject: [PATCH] Refactor GenericNode component to improve output display --- .../src/CustomNodes/GenericNode/index.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index 094791a26..042757832 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -494,7 +494,7 @@ export default function GenericNode({ ) : !validationStatus ? ( {STATUS_BUILD} ) : ( -
+
{lastRunTime && (
@@ -512,14 +512,16 @@ export default function GenericNode({

- + Output - {validationStatus?.params - .split("\n") - .map((line, index) => ( -
{line}
- ))} +
+ {validationStatus?.params + .split("\n") + .map((line, index) => ( +
{line}
+ ))} +
) }