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

Danger alert does not appear unless I refresh the page #1

Open
maddog666 opened this issue Oct 18, 2017 · 1 comment
Open

Danger alert does not appear unless I refresh the page #1

maddog666 opened this issue Oct 18, 2017 · 1 comment

Comments

@maddog666
Copy link

The plugin works when I do router push to another location, however, it does not work if I want alert to show right away.
For example, I am using danger alert to warn users when there is an error during logins, such as incorrect password, or incorrect user. In these situations, the route does not change (no this.$router.push).
How do I flash an alert right away when the route does not change?

@gmox
Copy link

gmox commented Dec 19, 2017

Is there an appropriate way to handle this? I'm guessing it has to do with how Vuex updates state?

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

2 participants