This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
commit f499f2e35faf5728112dee9284715c99047465e8 Author: Rohit Yadav <rohit.ya...@shapeblue.com> AuthorDate: Wed Feb 19 10:53:47 2020 +0530 login: fix unhandled promise issue Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> --- src/views/auth/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/auth/Login.vue b/src/views/auth/Login.vue index c64c38b..1bc6ec0 100644 --- a/src/views/auth/Login.vue +++ b/src/views/auth/Login.vue @@ -174,8 +174,8 @@ export default { }) }, loginSuccess (res) { - this.$router.push({ name: 'dashboard' }) this.$message.loading('Login Successful. Discovering Features...', 5) + this.$router.push({ path: '/dashboard' }).catch(() => {}) }, requestFailed (err) { if (err && err.response && err.response.data && err.response.data.loginresponse) {