Fixes language on bread crumbs of DMP's public view.
This commit is contained in:
parent
131245850a
commit
099efab90c
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue