From 7d3a3591307e7c48dd6f4e55834ac91ec31d6975 Mon Sep 17 00:00:00 2001 From: "CITE\\spapacharalampous" Date: Wed, 28 Aug 2024 17:29:57 +0300 Subject: [PATCH] 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); }