diff --git a/src/components/FlowEditor/editor/Automation2FlowEditor.module.css b/src/components/FlowEditor/editor/Automation2FlowEditor.module.css index 06594b5..d52166b 100644 --- a/src/components/FlowEditor/editor/Automation2FlowEditor.module.css +++ b/src/components/FlowEditor/editor/Automation2FlowEditor.module.css @@ -30,7 +30,8 @@ } .sidebar { - flex-shrink: 0; + flex: 1; + min-height: 0; width: 280px; display: flex; flex-direction: column; diff --git a/src/components/FlowEditor/editor/Automation2FlowEditor.tsx b/src/components/FlowEditor/editor/Automation2FlowEditor.tsx index 4bd1129..ea51ee0 100644 --- a/src/components/FlowEditor/editor/Automation2FlowEditor.tsx +++ b/src/components/FlowEditor/editor/Automation2FlowEditor.tsx @@ -764,7 +764,7 @@ export const Automation2FlowEditor: React.FC = ({ in Tracing -
+
{rightTab === 'nodes' ? ( renderSidebar() ) : ( diff --git a/src/components/FormGenerator/FormGeneratorForm/FormGeneratorForm.tsx b/src/components/FormGenerator/FormGeneratorForm/FormGeneratorForm.tsx index 77b5e88..57e2688 100644 --- a/src/components/FormGenerator/FormGeneratorForm/FormGeneratorForm.tsx +++ b/src/components/FormGenerator/FormGeneratorForm/FormGeneratorForm.tsx @@ -455,8 +455,6 @@ export function FormGeneratorForm>({ // Validate all fields const validateFields = (): boolean => { - const { t } = useLanguage(); - const newErrors: Record = {}; const filteredAttrs = getFilteredAttributes(); diff --git a/src/pages/views/workspace/ChatStream.tsx b/src/pages/views/workspace/ChatStream.tsx index edff9dd..5f9c89e 100644 --- a/src/pages/views/workspace/ChatStream.tsx +++ b/src/pages/views/workspace/ChatStream.tsx @@ -130,6 +130,8 @@ export const ChatStream: React.FC = ({ messages, {children} ), + img: ({ src, alt, ...rest }) => + src ? {alt : null, }} > {msg.message}