Refactor GenericNode component to improve output display
This commit is contained in:
parent
5b85b04edb
commit
0788a72179
1 changed files with 9 additions and 7 deletions
|
|
@ -494,7 +494,7 @@ export default function GenericNode({
|
||||||
) : !validationStatus ? (
|
) : !validationStatus ? (
|
||||||
<span className="flex">{STATUS_BUILD}</span>
|
<span className="flex">{STATUS_BUILD}</span>
|
||||||
) : (
|
) : (
|
||||||
<div className="max-h-96 overflow-auto custom-scroll">
|
<div className="max-h-100">
|
||||||
<div>
|
<div>
|
||||||
{lastRunTime && (
|
{lastRunTime && (
|
||||||
<div className="justify-left flex text-muted-foreground">
|
<div className="justify-left flex text-muted-foreground">
|
||||||
|
|
@ -512,14 +512,16 @@ export default function GenericNode({
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<span className="flex justify-center text-muted-foreground">
|
<span className="flex justify-center text-muted-foreground ">
|
||||||
Output
|
Output
|
||||||
</span>
|
</span>
|
||||||
{validationStatus?.params
|
<div className="max-h-96 overflow-auto custom-scroll">
|
||||||
.split("\n")
|
{validationStatus?.params
|
||||||
.map((line, index) => (
|
.split("\n")
|
||||||
<div key={index}>{line}</div>
|
.map((line, index) => (
|
||||||
))}
|
<div key={index}>{line}</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue