[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:
Konstantinos Triantafyllou 2019-12-09 14:42:14 +00:00
parent 7de0e64603
commit 7a333a7d12
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export class AppComponent implements OnInit, OnDestroy {
this.propertiesService.loadEnvironment()
.then(properties => {
this.properties = properties;
this.router.events.forEach((event) => {
this.router.events.subscribe(event => {
if (event instanceof NavigationEnd) {
let r = this.route;
while (r.firstChild) {