Fixes language on bread crumbs of DMP's public view.

This commit is contained in:
gkolokythas 2019-07-18 17:26:53 +03:00
parent 131245850a
commit 099efab90c
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
.subscribe(data => {
this.dmp = data;
const breadCrumbs = [];
breadCrumbs.push({ parentComponentName: null, label: this.language.instant('NAV-BAR.MY-DMPS'), url: "/explore-plans" });
breadCrumbs.push({ parentComponentName: null, label: this.language.instant('NAV-BAR.PUBLIC-DMPS'), url: "/explore-plans" });
breadCrumbs.push({ parentComponentName: 'DmpListingComponent', label: this.dmp.label, url: '/plans/publicOverview/' + this.dmp.id });
this.breadCrumbs = Observable.of(breadCrumbs);
});

View File

@ -43,7 +43,7 @@ export class ExploreDmpListingComponent extends BaseComponent implements OnInit,
const breadCrumbs = [];
breadCrumbs.push({
parentComponentName: null,
label: this.language.instant('NAV-BAR.PUBLIC DMPS'),
label: this.language.instant('NAV-BAR.PUBLIC-DMPS'),
url: "/explore-plans"
})
this.breadCrumbs = Observable.of(breadCrumbs);