Refactored Logs header
This commit is contained in:
parent
e265ee6c23
commit
fd39e4bd6f
1 changed files with 5 additions and 10 deletions
|
|
@ -37,7 +37,7 @@ export default function FlowLogsModal({
|
|||
const { columns, rows } = data;
|
||||
setColumns(columns.map((col) => ({ ...col, editable: true })));
|
||||
setRows(rows);
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ export default function FlowLogsModal({
|
|||
.some((template) => template["stream"] && template["stream"].value);
|
||||
console.log(
|
||||
haStream,
|
||||
nodes.map((nodes) => (nodes.data as NodeDataType).node!.template)
|
||||
nodes.map((nodes) => (nodes.data as NodeDataType).node!.template),
|
||||
);
|
||||
if (haStream) {
|
||||
setNoticeData({
|
||||
|
|
@ -78,14 +78,9 @@ export default function FlowLogsModal({
|
|||
|
||||
return (
|
||||
<BaseModal open={open} setOpen={setOpen} size="large">
|
||||
<BaseModal.Header description="Inspect component executions and monitor sent messages in the playground.">
|
||||
<div className="flex w-full justify-between">
|
||||
<div className="flex h-fit w-32 items-center">
|
||||
<span className="pr-2">Logs</span>
|
||||
<IconComponent name="ScrollText" className="mr-2 h-4 w-4 " />
|
||||
</div>
|
||||
<div className="flex h-fit w-32 items-center"></div>
|
||||
</div>
|
||||
<BaseModal.Header description="Inspect component executions and monitor sent messages in the playground">
|
||||
<span className="pr-2">Logs</span>
|
||||
<IconComponent name="ScrollText" className="mr-2 h-4 w-4 " />
|
||||
</BaseModal.Header>
|
||||
<BaseModal.Content>
|
||||
<Tabs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue