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
|
// else
|
||||||
breadCrumbs.push({
|
|
||||||
|
this.language.get('NAV-BAR.MY-DMPS').pipe(takeUntil(this._destroyed)).subscribe(x => {
|
||||||
|
this.breadCrumbs = Observable.of([
|
||||||
|
{
|
||||||
parentComponentName: null,
|
parentComponentName: null,
|
||||||
label: this.language.instant('NAV-BAR.MY-DMPS'),
|
label: x,
|
||||||
url: "/plans"
|
url: '/plans'
|
||||||
|
}]
|
||||||
|
);
|
||||||
})
|
})
|
||||||
this.breadCrumbs = Observable.of(breadCrumbs);
|
|
||||||
this.criteria.setCriteria(this.getDefaultCriteria());
|
this.criteria.setCriteria(this.getDefaultCriteria());
|
||||||
this.refresh();
|
this.refresh();
|
||||||
this.criteria.setRefreshCallback((resetPages) => this.refresh(resetPages));
|
this.criteria.setRefreshCallback((resetPages) => this.refresh(resetPages));
|
||||||
|
|
Loading…
Reference in New Issue