소스 검색

push pages from menu instead of setting new root

Carsten Porth 5 년 전
부모
커밋
ef2061d641
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/src/app/app.component.ts

+ 1 - 1
app/src/app/app.component.ts

@@ -65,7 +65,7 @@ export class MyApp {
   }
 
   openPage(page) {
-    this.nav.setRoot(page.component);
+    this.nav.push(page.component);
   }
 
   logout() {