From 7d3a3591307e7c48dd6f4e55834ac91ec31d6975 Mon Sep 17 00:00:00 2001 From: "CITE\\spapacharalampous" Date: Wed, 28 Aug 2024 17:29:57 +0300 Subject: [PATCH 1/2] minor ui fix --- .../src/app/ui/plan/listing/plan-listing.component.html | 2 +- frontend/src/app/ui/plan/listing/plan-listing.component.ts | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/ui/plan/listing/plan-listing.component.html b/frontend/src/app/ui/plan/listing/plan-listing.component.html index c38dd6887..af6ed8851 100644 --- a/frontend/src/app/ui/plan/listing/plan-listing.component.html +++ b/frontend/src/app/ui/plan/listing/plan-listing.component.html @@ -14,7 +14,7 @@
-
+
diff --git a/frontend/src/app/ui/plan/listing/plan-listing.component.ts b/frontend/src/app/ui/plan/listing/plan-listing.component.ts index 4b862081b..831da5bf9 100644 --- a/frontend/src/app/ui/plan/listing/plan-listing.component.ts +++ b/frontend/src/app/ui/plan/listing/plan-listing.component.ts @@ -102,6 +102,9 @@ export class PlanListingComponent extends BaseListingComponent { - if (this.groupId != null) { + if (this.versionsModeEnabled) { const latestVersionPlan: BasePlan = this._getLatestVersion(result.items); this.breadcrumbService.addIdResolvedValue(this.groupId.toString(), latestVersionPlan.label); } @@ -217,7 +220,7 @@ export class PlanListingComponent extends BaseListingComponent { - if (this.groupId != null) { + if (this.versionsModeEnabled) { const latestVersionPlan: BasePlan = this._getLatestVersion(result.items); this.breadcrumbService.addIdResolvedValue(this.groupId.toString(), latestVersionPlan.label); } From 492dbc4ab50f5808052c696b063618e5f4de6ae7 Mon Sep 17 00:00:00 2001 From: "CITE\\spapacharalampous" Date: Wed, 28 Aug 2024 17:32:46 +0300 Subject: [PATCH 2/2] clean up --- frontend/src/app/ui/plan/listing/plan-listing.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/app/ui/plan/listing/plan-listing.component.ts b/frontend/src/app/ui/plan/listing/plan-listing.component.ts index 831da5bf9..0893eb105 100644 --- a/frontend/src/app/ui/plan/listing/plan-listing.component.ts +++ b/frontend/src/app/ui/plan/listing/plan-listing.component.ts @@ -55,7 +55,6 @@ export class PlanListingComponent extends BaseListingComponent