From 095fe34c816028be2970d8ed0ea6a0260a168a6e Mon Sep 17 00:00:00 2001 From: ValueOn AG Date: Thu, 9 Apr 2026 21:33:54 +0200 Subject: [PATCH] fixes --- .../FlowEditor/editor/Automation2FlowEditor.module.css | 3 ++- src/components/FlowEditor/editor/Automation2FlowEditor.tsx | 2 +- .../FormGenerator/FormGeneratorForm/FormGeneratorForm.tsx | 2 -- src/pages/views/workspace/ChatStream.tsx | 2 ++ 4 files changed, 5 insertions(+), 4 deletions(-) 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}