Product/components used and version/fix level:
Scaffolding from Cockpit 10.16.0.171
Detailed explanation of the problem:
A customer is trying to rename the landing dashboard (home by default). By injecting the navigation service we managed to rename the node to “Overview”:
import { NgModule } from "@angular/core";
import { NavigatorService } from "@c8y/ngx-components";
import { map } from 'rxjs/operators';
@NgModule()
export class NavModule {
constructor(nav: NavigatorService) {
nav.items$ = nav.items$.pipe(
map(items => {
const homeNode = items.find(node => node.label === 'Home');
if (homeNode) {
homeNode.label = 'Overview';
}
return items;
})
);
}
}
However the title of the Home dashboard remains “Home”:
Can this title be customized?