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 8ea97065 Fix #1309
8ea97065 is described below
commit 8ea970651bc09c422cd12b5fba1bec9eac5ca2dc
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Mon Jun 3 17:40:03 2024 -0400
Fix #1309
---
karavan-app/src/main/webui/src/topology/TopologyApi.tsx | 2 +-
karavan-designer/src/topology/TopologyApi.tsx | 2 +-
karavan-space/src/topology/TopologyApi.tsx | 2 +-
karavan-vscode/webview/topology/TopologyApi.tsx | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/karavan-app/src/main/webui/src/topology/TopologyApi.tsx
b/karavan-app/src/main/webui/src/topology/TopologyApi.tsx
index d24b38f8..383c2159 100644
--- a/karavan-app/src/main/webui/src/topology/TopologyApi.tsx
+++ b/karavan-app/src/main/webui/src/topology/TopologyApi.tsx
@@ -263,7 +263,7 @@ export function getModel(files: IntegrationFile[],
grouping?: boolean): Model {
const nodes: NodeModel[] = [];
const groups: NodeModel[] = [];
- const children1 = []
+ const children1: string[] = [];
children1.push(...tins.filter(i => i.type === 'external').map(i => i.id));
children1.push(...trestns.map(i => i.id));
groups.push({
diff --git a/karavan-designer/src/topology/TopologyApi.tsx
b/karavan-designer/src/topology/TopologyApi.tsx
index d24b38f8..383c2159 100644
--- a/karavan-designer/src/topology/TopologyApi.tsx
+++ b/karavan-designer/src/topology/TopologyApi.tsx
@@ -263,7 +263,7 @@ export function getModel(files: IntegrationFile[],
grouping?: boolean): Model {
const nodes: NodeModel[] = [];
const groups: NodeModel[] = [];
- const children1 = []
+ const children1: string[] = [];
children1.push(...tins.filter(i => i.type === 'external').map(i => i.id));
children1.push(...trestns.map(i => i.id));
groups.push({
diff --git a/karavan-space/src/topology/TopologyApi.tsx
b/karavan-space/src/topology/TopologyApi.tsx
index d24b38f8..383c2159 100644
--- a/karavan-space/src/topology/TopologyApi.tsx
+++ b/karavan-space/src/topology/TopologyApi.tsx
@@ -263,7 +263,7 @@ export function getModel(files: IntegrationFile[],
grouping?: boolean): Model {
const nodes: NodeModel[] = [];
const groups: NodeModel[] = [];
- const children1 = []
+ const children1: string[] = [];
children1.push(...tins.filter(i => i.type === 'external').map(i => i.id));
children1.push(...trestns.map(i => i.id));
groups.push({
diff --git a/karavan-vscode/webview/topology/TopologyApi.tsx
b/karavan-vscode/webview/topology/TopologyApi.tsx
index 90302a02..8c8aff65 100644
--- a/karavan-vscode/webview/topology/TopologyApi.tsx
+++ b/karavan-vscode/webview/topology/TopologyApi.tsx
@@ -263,7 +263,7 @@ export function getModel(files: IntegrationFile[],
grouping?: boolean): Model {
const nodes: NodeModel[] = [];
const groups: NodeModel[] = [];
- const children1 = []
+ const children1: string[] = [];
children1.push(...tins.filter(i => i.type === 'external').map(i => i.id));
children1.push(...trestns.map(i => i.id));
groups.push({