Skip to content

Commit 0454264

Browse files
committed
fix: Tool name display issue in workflow log
1 parent af4a838 commit 0454264

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/frontend/platform/src/pages/BuildPage/flow/FlowNode/RunLog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { LoadIcon } from "@/components/bs-icons/loading";
22
import { Button } from "@/components/bs-ui/button";
3-
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from "@/components/bs-ui/select";
3+
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger } from "@/components/bs-ui/select";
44
import { downloadFile } from "@/util/utils";
55
import { Check, ChevronsRightIcon, X } from "lucide-react";
66
import { useEffect, useMemo, useRef, useState } from "react";
@@ -61,7 +61,6 @@ export default function RunLog({ node, children }) {
6161
if (newData.has(p.tool_key)) {
6262
newData.get(p.tool_key)['label'] = p.label;
6363
hasKeys.push(p.tool_key);
64-
return true;
6564
}
6665
});
6766
}

src/frontend/platform/src/pages/BuildPage/tools/EditMcp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const McpServerEditorDialog = forwardRef(({ existingNames = [], onReload }, ref)
128128

129129
const initialFormState = {
130130
name: "",
131-
openapiSchema: "{}"
131+
openapiSchema: ""
132132
};
133133
const [formData, setFormData] = useState(initialFormState);
134134
const serverRef = useRef(initialFormState);

0 commit comments

Comments
 (0)