Resources Pages: Change root breadcrumb to Dashboard if a dashboard is selected
This commit is contained in:
parent
7bb2346ec2
commit
3c6fe34f29
|
@ -59,6 +59,7 @@ export class IndicatorThemesComponent implements OnInit, OnDestroy {
|
||||||
const title = "Monitor | Indicator Themes";
|
const title = "Monitor | Indicator Themes";
|
||||||
this.metaTags(title, description);
|
this.metaTags(title, description);
|
||||||
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
||||||
|
this.breadcrumbs[0].name = (params['stakeholder']?'dashboard':'home');
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,7 @@ export class IndicatorsComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
||||||
|
this.breadcrumbs[0].name = (params['stakeholder']?'dashboard':'home');
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,7 @@ export class SeeHowItWorksComponent implements OnInit, OnDestroy {
|
||||||
const title = "Monitor | See how it works";
|
const title = "Monitor | See how it works";
|
||||||
this.metaTags(title, description);
|
this.metaTags(title, description);
|
||||||
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
||||||
|
this.breadcrumbs[0].name = (params['stakeholder']?'dashboard':'home');
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -464,6 +464,7 @@ export class TerminologyComponent implements OnInit, OnDestroy {
|
||||||
const title = "Monitor | Terminology and construction";
|
const title = "Monitor | Terminology and construction";
|
||||||
this.metaTags(title, description);
|
this.metaTags(title, description);
|
||||||
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
||||||
|
this.breadcrumbs[0].name = (params['stakeholder']?'dashboard':'home');
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue