From ced849f4045a154264be8a4cd02b3491a837f3aa Mon Sep 17 00:00:00 2001 From: Dotan Simha Date: Thu, 3 Nov 2016 19:43:26 +0200 Subject: [PATCH] Step 5.18: Add navigation to verification page from the login component --- src/pages/auth/login.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/auth/login.ts b/src/pages/auth/login.ts index 65cc683bc..2b661b23d 100644 --- a/src/pages/auth/login.ts +++ b/src/pages/auth/login.ts @@ -1,5 +1,6 @@ import { Component } from '@angular/core'; import { NavController, AlertController } from 'ionic-angular'; +import { VerificationComponent } from "../verification/verification"; @Component({ selector: 'login', @@ -46,9 +47,9 @@ export class LoginComponent { alert.dismiss().then(() => { if (e) return this.handleError(e); - // this.navCtrl.push(VerificationComponent, { - // phone: this.phone - // }); + this.navCtrl.push(VerificationComponent, { + phone: this.phone + }); }); }); }