This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new e0267632 fix #1574
e0267632 is described below
commit e0267632c035e556743f2aad567bdc0cdcc6a398
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Sat Dec 6 20:42:56 2025 -0500
fix #1574
---
karavan-app/src/main/webui/src/accelerator/developer/DesignerEditor.tsx | 2 +-
karavan-app/src/main/webui/src/api/ProjectStore.ts | 2 +-
karavan-app/src/main/webui/src/integration-topology/CustomEdge.tsx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/karavan-app/src/main/webui/src/accelerator/developer/DesignerEditor.tsx
b/karavan-app/src/main/webui/src/accelerator/developer/DesignerEditor.tsx
index 70e3b315..d2d219a2 100644
--- a/karavan-app/src/main/webui/src/accelerator/developer/DesignerEditor.tsx
+++ b/karavan-app/src/main/webui/src/accelerator/developer/DesignerEditor.tsx
@@ -130,7 +130,7 @@ export function DesignerEditor() {
onCreateNewRoute={onCreateNewRoute}
onCreateNewFile={onCreateNewFile}
files={files.map(f => new IntegrationFile(f.name,
f.code))}
- mainRightPanel={<DslProperties
designerType={"beans"} expressionEditor={ExpressionEditor}/>}
+ mainRightPanel={<DslProperties
designerType={"routes"} expressionEditor={ExpressionEditor}/>}
/>
: <></>
)
diff --git a/karavan-app/src/main/webui/src/api/ProjectStore.ts
b/karavan-app/src/main/webui/src/api/ProjectStore.ts
index be7c27e4..71d0601f 100644
--- a/karavan-app/src/main/webui/src/api/ProjectStore.ts
+++ b/karavan-app/src/main/webui/src/api/ProjectStore.ts
@@ -256,7 +256,7 @@ interface FileState {
export const useFileStore = createWithEqualityFn<FileState>((set) => ({
file: undefined,
operation: "none",
- designerTab: undefined,
+ designerTab: "routes",
addProperty: '',
setFile: (operation: FileOperation, file?: ProjectFile, designerTab?:
DesignerTab) => {
set((state: FileState) => ({
diff --git a/karavan-app/src/main/webui/src/integration-topology/CustomEdge.tsx
b/karavan-app/src/main/webui/src/integration-topology/CustomEdge.tsx
index 9fab2ca1..a516114e 100644
--- a/karavan-app/src/main/webui/src/integration-topology/CustomEdge.tsx
+++ b/karavan-app/src/main/webui/src/integration-topology/CustomEdge.tsx
@@ -32,7 +32,7 @@ const CustomEdge: React.FC<any> = observer(({ element,
...rest }) => {
endTerminalSize={10}
endTerminalStatus={data?.endTerminalStatus || NodeStatus.default}
tagStatus={data?.endTerminalStatus || NodeStatus.default}
- tag={data.label}
+ tag={data?.label}
{...rest}
/>
)