Sn0w3y
2
Hi Stefan,
i tested it already and found a little Bug
On Pageload of the /overview (index) page on Backend it does not set the Title correctly. See my Comment here:
This breaks setting the Page Title on Pageload we need to either keep it or change openems/ui/src/app/app-routing.module.ts at af9aaea28b6cac8f0ef5f670bd0c413b6cc281d7 · OpenEMS/openems · GitHub
to:
{ path: "overview", component: OverViewComponent, data: { navbarTitle: environment.uiTitle } },
1 Like
@lukasrgr: Can you please take care of this?
1 Like
Sn0w3y
4
I can provide a PR for this with the fix like this if you agree:
{ path: “overview”, component: OverViewComponent, data: { navbarTitle: environment.uiTitle } },
as i guess that this is the wanted approach to keep all Components “loaded” the same way
Lukas solved it in a more generic way here:
1 Like