diff --git a/src/main/webapp/app/dashboard/dependency-dashboard/dependency-dashboard.component.html b/src/main/webapp/app/dashboard/dependency-dashboard/dependency-dashboard.component.html
index 0ffe92f..9607662 100644
--- a/src/main/webapp/app/dashboard/dependency-dashboard/dependency-dashboard.component.html
+++ b/src/main/webapp/app/dashboard/dependency-dashboard/dependency-dashboard.component.html
@@ -23,7 +23,7 @@
-
diff --git a/src/main/webapp/app/dashboard/impact-analysis/impact-analysis-legend/impact-analysis-legend.component.ts b/src/main/webapp/app/dashboard/impact-analysis/impact-analysis-legend/impact-analysis-legend.component.ts
index 2890f19..e4b3384 100644
--- a/src/main/webapp/app/dashboard/impact-analysis/impact-analysis-legend/impact-analysis-legend.component.ts
+++ b/src/main/webapp/app/dashboard/impact-analysis/impact-analysis-legend/impact-analysis-legend.component.ts
@@ -25,7 +25,14 @@ export class ImpactAnalysisLegendComponent implements OnInit {
}
initDependencies(): void {
+ const targetId = this.analysisResult?.target?.id;
this.dependencies = [];
- this.analysisResult?.groups?.forEach(v => v.items?.forEach(i => this.dependencies.push(i.target)));
+ this.analysisResult?.groups?.forEach(v =>
+ v.items?.forEach(i => {
+ if (i.target.id !== targetId) {
+ this.dependencies.push(i.target);
+ }
+ })
+ );
}
}
diff --git a/src/main/webapp/app/entities/dependency/dependency-detail.component.html b/src/main/webapp/app/entities/dependency/dependency-detail.component.html
index 4f4bc04..c52810c 100644
--- a/src/main/webapp/app/entities/dependency/dependency-detail.component.html
+++ b/src/main/webapp/app/entities/dependency/dependency-detail.component.html
@@ -19,13 +19,13 @@ DependencySource
Target
diff --git a/src/main/webapp/app/entities/dependency/dependency-update.component.html b/src/main/webapp/app/entities/dependency/dependency-update.component.html
index cd19549..5b4e48b 100644
--- a/src/main/webapp/app/entities/dependency/dependency-update.component.html
+++ b/src/main/webapp/app/entities/dependency/dependency-update.component.html
@@ -33,7 +33,7 @@ Source
@@ -47,7 +47,7 @@
Target
diff --git a/src/main/webapp/app/entities/microservice/microservice-detail.component.html b/src/main/webapp/app/entities/microservice/microservice-detail.component.html
index 196ded3..01cb8a2 100644
--- a/src/main/webapp/app/entities/microservice/microservice-detail.component.html
+++ b/src/main/webapp/app/entities/microservice/microservice-detail.component.html
@@ -35,13 +35,13 @@
Microservice<
Team
Status
diff --git a/src/main/webapp/app/entities/microservice/microservice-update.component.html b/src/main/webapp/app/entities/microservice/microservice-update.component.html
index 1b80e6b..47d2792 100644
--- a/src/main/webapp/app/entities/microservice/microservice-update.component.html
+++ b/src/main/webapp/app/entities/microservice/microservice-update.component.html
@@ -87,7 +87,7 @@ Team
@@ -101,7 +101,7 @@
Status