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 9d5623dc Support varibles #1136
9d5623dc is described below

commit 9d5623dcf85247e82beb9c2dee8927af555e96a2
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Tue Feb 20 20:30:39 2024 -0500

    Support varibles #1136
---
 karavan-space/src/space/SpacePage.tsx                             | 1 +
 karavan-web/karavan-app/src/main/webui/src/project/FileEditor.tsx | 1 +
 2 files changed, 2 insertions(+)

diff --git a/karavan-space/src/space/SpacePage.tsx 
b/karavan-space/src/space/SpacePage.tsx
index 548e5025..0ce7ddfc 100644
--- a/karavan-space/src/space/SpacePage.tsx
+++ b/karavan-space/src/space/SpacePage.tsx
@@ -114,6 +114,7 @@ export class SpacePage extends React.Component<Props, 
State> {
                 onInternalConsumerClick={(uri?: string, name?: string, 
routeId?: string) => {
                     console.log("onInternalConsumerClick", uri, name, routeId)
                 }}
+                variables={[]}
                 files={[new IntegrationFile("example.camel.yaml", yaml)]}
             />
         )
diff --git a/karavan-web/karavan-app/src/main/webui/src/project/FileEditor.tsx 
b/karavan-web/karavan-app/src/main/webui/src/project/FileEditor.tsx
index dcea5772..e1553c52 100644
--- a/karavan-web/karavan-app/src/main/webui/src/project/FileEditor.tsx
+++ b/karavan-web/karavan-app/src/main/webui/src/project/FileEditor.tsx
@@ -127,6 +127,7 @@ export function FileEditor(props: Props) {
                              
onSavePropertyPlaceholder={onSavePropertyPlaceholder}
                              beans={beans}
                              onInternalConsumerClick={internalConsumerClick}
+                             variables={[]}
                              files={files.map(f => new IntegrationFile(f.name, 
f.code))}
             />
         )

Reply via email to