Guest User

Untitled

a guest
Jan 22nd, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. rootPage: LoginPage
  2.  
  3. <ion-split-pane when="md" enabled="true">
  4.  
  5. <ion-menu [content]="content">
  6. <ion-content>
  7. <ion-list>
  8. <button icon-only menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">
  9. <ion-icon color="bluedark" name="{{ p.icon }}"></ion-icon>
  10. <span>{{ p.title }}</span>
  11. </button>
  12. </ion-list>
  13. </ion-content>
  14. </ion-menu>
  15.  
  16. <ion-nav [root]="rootPage" #content swipeBackEnabled="false" main></ion-nav>
  17. </ion-split-pane>
  18.  
  19. this.navCtrl.setRoot(HomePage);
  20.  
  21. this.navCtrl.setRoot(SigninPage);
  22.  
  23. Error: Uncaught (in promise): inserted view was already destroyed
  24. at c (http://localhost:8100/build/polyfills.js:3:19752)
  25. at Object.reject (http://localhost:8100/build/polyfills.js:3:19174)
  26. at OverlayPortal.NavControllerBase._fireError (http://localhost:8100/build/vendor.js:68069:16)
  27. at OverlayPortal.NavControllerBase._failed (http://localhost:8100/build/vendor.js:68062:14)
  28. at http://localhost:8100/build/vendor.js:68109:59
  29. at t.invoke (http://localhost:8100/build/polyfills.js:3:14976)
  30. at Object.onInvoke (http://localhost:8100/build/vendor.js:4982:33)
  31. at t.invoke (http://localhost:8100/build/polyfills.js:3:14916)
  32. at r.run (http://localhost:8100/build/polyfills.js:3:10143)
  33. at http://localhost:8100/build/polyfills.js:3:20242
Add Comment
Please, Sign In to add comment