Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web app stuck on the login page #194

Open
thecodingsophist opened this issue Nov 28, 2018 · 0 comments
Open

web app stuck on the login page #194

thecodingsophist opened this issue Nov 28, 2018 · 0 comments

Comments

@thecodingsophist
Copy link

I'm stuck on this piece of code in the login.controller.js file.

const confirmPopup = this.$ionicPopup.confirm({ title: 'Number confirmation', template: '<div>' + this.phone + '</div><div>Is your phone number above correct?</div>', cssClass: 'text-center', okText: 'Yes', okType: 'button-positive button-clear', cancelText: 'edit', cancelType: 'button-dark button-clear' })

For some reason, the following piece of code does not execute (as in, when I enter my phone number into the web app, it does not popup/show "sending verification code")

confirmPopup.then((res) => { if (!res) return; this.$ionicLoading.show({ template: 'Sending verification code...' });

It doesn't console.log either when I try:

confirmPopup.then((res) => { if (!res) return console.log("Nothing happens"); console.log("Something happens") this.$ionicLoading.show({ template: 'Sending verification code...' });

How do I fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant