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

commit a4620125151544a5502c5bb7cd0c03b89bb2b627
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Fri Feb 2 17:41:55 2024 -0500

    Fix #1097
---
 .../karavan-app/src/main/webui/src/project/beans/BeanWizard.tsx       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/karavan-web/karavan-app/src/main/webui/src/project/beans/BeanWizard.tsx 
b/karavan-web/karavan-app/src/main/webui/src/project/beans/BeanWizard.tsx
index fa7dff0e..896dbe12 100644
--- a/karavan-web/karavan-app/src/main/webui/src/project/beans/BeanWizard.tsx
+++ b/karavan-web/karavan-app/src/main/webui/src/project/beans/BeanWizard.tsx
@@ -239,12 +239,12 @@ export function BeanWizard() {
                                                }}
                                     />
                                 </InputGroupItem>
-                                <InputGroupItem>
+                                {templateName !== EMPTY_BEAN && 
<InputGroupItem>
                                     <BeanFilesDropdown 
{...register('filename')} onSelect={(fn, event) => {
                                         setFilename(fn);
                                         setValue('filename', fn, 
{shouldValidate: true});
                                     }}/>
-                                </InputGroupItem>
+                                </InputGroupItem>}
                             </InputGroup>
                             {!!errors.filename && (
                                 <FormHelperText>

Reply via email to