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