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 b8fd4a4b Prepare to work in Openshift for #885 b8fd4a4b is described below commit b8fd4a4b9da5cfdb4c992178bc081e00c4f1ef06 Author: Marat Gubaidullin <ma...@talismancloud.io> AuthorDate: Sun Sep 17 15:15:32 2023 -0400 Prepare to work in Openshift for #885 --- .../karavan-app/src/main/webui/src/project/files/CreateFileModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karavan-web/karavan-app/src/main/webui/src/project/files/CreateFileModal.tsx b/karavan-web/karavan-app/src/main/webui/src/project/files/CreateFileModal.tsx index 4eda93a6..9b9a6791 100644 --- a/karavan-web/karavan-app/src/main/webui/src/project/files/CreateFileModal.tsx +++ b/karavan-web/karavan-app/src/main/webui/src/project/files/CreateFileModal.tsx @@ -38,7 +38,7 @@ export function CreateFileModal (props: Props) { function confirmAndCloseModal () { const extension = ProjectFileTypes.filter(value => value.name === fileType)[0].extension; - const filename = (extension !== 'java') ? CamelUi.nameFromTitle(name) : CamelUi.javaNameFromTitle(name); + const filename = (extension !== 'java') ? fileNameCheck(name) : CamelUi.javaNameFromTitle(name); const code = fileType === 'INTEGRATION' ? CamelDefinitionYaml.integrationToYaml(Integration.createNew(name, 'plain')) : '';