[MonitorDashboard]: Fix a bug on app component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@57844 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
7de0e64603
commit
7a333a7d12
|
@ -43,7 +43,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
this.propertiesService.loadEnvironment()
|
this.propertiesService.loadEnvironment()
|
||||||
.then(properties => {
|
.then(properties => {
|
||||||
this.properties = properties;
|
this.properties = properties;
|
||||||
this.router.events.forEach((event) => {
|
this.router.events.subscribe(event => {
|
||||||
if (event instanceof NavigationEnd) {
|
if (event instanceof NavigationEnd) {
|
||||||
let r = this.route;
|
let r = this.route;
|
||||||
while (r.firstChild) {
|
while (r.firstChild) {
|
||||||
|
|
Loading…
Reference in New Issue