Commit 6fb97f07 by Harsh Shah

S53476058 #Page opens at the bottom

parent 563685d1
...@@ -96,6 +96,7 @@ export class AdminIframePageComponent implements OnInit { ...@@ -96,6 +96,7 @@ export class AdminIframePageComponent implements OnInit {
this.showLoader = newValue; this.showLoader = newValue;
if(!this.showLoader){ if(!this.showLoader){
this.menuService.reloadMenuData(this.subscriptions); //Reload menu only once loading is completed this.menuService.reloadMenuData(this.subscriptions); //Reload menu only once loading is completed
window.scroll(0,0); //scroll to top for all new pages i.e once loading is completed
} }
this.changeDetector.detectChanges(); this.changeDetector.detectChanges();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment