[Trunk | Monitor Dashboard]: monitor.component.ts: Initialize activeTopic, activeCategory, activeSubCategory when url path changes (Bug fix: When a topic has no content do not show previous content).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@58692 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
d486f40208
commit
a08453d950
|
@ -91,6 +91,10 @@ export class MonitorComponent implements OnInit, OnDestroy, IDeactivateComponent
|
|||
|
||||
this.route.params.subscribe(params => {
|
||||
this.loading = true;
|
||||
this.activeTopic = null;
|
||||
this.activeCategory = null;
|
||||
this.activeSubCategory = null;
|
||||
|
||||
if (subscription) {
|
||||
subscription.unsubscribe();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue