From 83af66ca876044cd782dbeb0488e1a9a7ca9c93d Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Wed, 19 Feb 2020 10:53:47 +0530 Subject: [PATCH] login: fix unhandled promise issue Signed-off-by: Rohit Yadav --- ui/src/views/auth/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/auth/Login.vue b/ui/src/views/auth/Login.vue index c64c38bc64e..1bc6ec0498d 100644 --- a/ui/src/views/auth/Login.vue +++ b/ui/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) {