Fixes synchronization on breadcrumb of /plans
This commit is contained in:
parent
74ed505702
commit
46042b7403
|
@ -76,12 +76,16 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
|
|||
// });
|
||||
// }
|
||||
// else
|
||||
breadCrumbs.push({
|
||||
|
||||
this.language.get('NAV-BAR.MY-DMPS').pipe(takeUntil(this._destroyed)).subscribe(x => {
|
||||
this.breadCrumbs = Observable.of([
|
||||
{
|
||||
parentComponentName: null,
|
||||
label: this.language.instant('NAV-BAR.MY-DMPS'),
|
||||
url: "/plans"
|
||||
label: x,
|
||||
url: '/plans'
|
||||
}]
|
||||
);
|
||||
})
|
||||
this.breadCrumbs = Observable.of(breadCrumbs);
|
||||
this.criteria.setCriteria(this.getDefaultCriteria());
|
||||
this.refresh();
|
||||
this.criteria.setRefreshCallback((resetPages) => this.refresh(resetPages));
|
||||
|
|
Loading…
Reference in New Issue