Hima лет назад: 5
Родитель
Сommit
9af55792dd

+ 1 - 0
src/app/Internal-Page/internal-page-content/internal-page-content.component.ts

@@ -99,6 +99,7 @@ export class InternalPageContentComponent implements OnInit {
     }
 
   ngOnInit() {
+    this.spinner.show();
    //console.log(this.checkTokenExpire);
        //get profile data
     //this.spinner.show();

+ 1 - 1
src/app/Internal-Page/internal-page/internal-page.component.ts

@@ -24,7 +24,6 @@ export class InternalPageComponent implements OnInit {
     private route: ActivatedRoute,
     private internalService: InternalPageService,
     private spinner: NgxSpinnerService,) {
-      this.spinner.show();
      }
 
     // joinUs = [];
@@ -65,6 +64,7 @@ export class InternalPageComponent implements OnInit {
     this.authSer.checkExternalFooter = false;
    //get profile data
     this.userservice.getUserDataProfile();
+    this.router.navigate(['InternalPage/home']);
     //get parent and child data
    
     //this.router.navigate(['InternalPage/home']);