Skip to content

Commit

Permalink
Fix messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
javrasya committed Jan 31, 2021
1 parent e5655b7 commit ec5dd2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ui/src/pages/LoginPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default {
}
} else {
this.$store.commit("unSetAuthToken");
emit_error(["You has to have the permission to view the workflows!"], 10000);
emit_error(["You must have the permission to view the workflows!"], 10000);
}
});
})
Expand All @@ -78,4 +78,4 @@ export default {
}
}
};
</script>
</script>
4 changes: 2 additions & 2 deletions ui/src/routers.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ router.beforeEach((to, from, next) => {
if (yes) {
next()
} else {
emit_error(["You has to have the permission to view the workflows!"], 10000);
emit_error(["You must have the permission to view the workflows!"], 10000);
emit_logout()
}
})
Expand All @@ -139,4 +139,4 @@ router.beforeEach((to, from, next) => {

})

export default router;
export default router;

0 comments on commit ec5dd2b

Please sign in to comment.