Intro.js Fixes and better client side logging (#11480)

* fix intro.js button and border for username modal

* fix unhandled error and add better logging
This commit is contained in:
Matteo Pagliazzi
2019-10-27 13:11:40 +01:00
committed by GitHub
parent 5dc5b4ac92
commit 57b9dc374a
5 changed files with 36 additions and 3 deletions

View File

@@ -1275,7 +1275,9 @@ export default {
});
this.$root.$emit('bv::hide::modal', 'avatar-modal');
this.$router.push('/');
if (this.$route.path !== '/') {
this.$router.push('/');
}
this.$store.dispatch('user:set', {
'flags.welcomed': true,
});