This is an automated email from the ASF dual-hosted git repository.
mgubaidullin 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 8d34cf6a Fix
8d34cf6a is described below
commit 8d34cf6a6a4b9fc6c91596ceca4da55b79eb8250
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Tue Sep 8 17:13:09 2026 -0400
Fix
---
karavan-app/src/main/webui/src/ui/designer/route/RouteDesigner.css | 2 +-
karavan-app/src/main/webui/src/ui/page-project/ProjectFunctionHook.tsx | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/karavan-app/src/main/webui/src/ui/designer/route/RouteDesigner.css
b/karavan-app/src/main/webui/src/ui/designer/route/RouteDesigner.css
index 4dde844b..5a082b81 100644
--- a/karavan-app/src/main/webui/src/ui/designer/route/RouteDesigner.css
+++ b/karavan-app/src/main/webui/src/ui/designer/route/RouteDesigner.css
@@ -124,7 +124,7 @@
.karavan .dsl-page .flows {
width: 100%;
position: absolute;
- padding-bottom: 66px;
+ padding-bottom: 140px;
}
.karavan .dsl-page .flows .add-flow {
diff --git
a/karavan-app/src/main/webui/src/ui/page-project/ProjectFunctionHook.tsx
b/karavan-app/src/main/webui/src/ui/page-project/ProjectFunctionHook.tsx
index b6539991..c4f4253d 100644
--- a/karavan-app/src/main/webui/src/ui/page-project/ProjectFunctionHook.tsx
+++ b/karavan-app/src/main/webui/src/ui/page-project/ProjectFunctionHook.tsx
@@ -159,7 +159,8 @@ export function ProjectFunctionHook() {
const paramsUri = generateParamUri(dsl);
const fullUri = `${FILE_WORDS_SEPARATOR}${paramsUri}`
const name =
toSpecialRouteId(`from${FILE_WORDS_SEPARATOR}${fullUri}`);
- const fName = (fileName != undefined ? fileName : name) +
KARAVAN_DOT_EXTENSION.CAMEL_YAML;
+ const extension =
fileName?.endsWith(KARAVAN_DOT_EXTENSION.CAMEL_YAML) ? '' :
KARAVAN_DOT_EXTENSION.CAMEL_YAML;
+ const fName = (fileName != undefined ? fileName : name) +
extension;
const route = CamelUi.createRouteFromComponent(name, dsl.uri,
dsl.properties, '');
const integration = Integration.createNew(fName);
let i;