Paglias Client Fixes (#9086)

* fix login background on bigger screens

* redirect to correct page after login / signup

* fix mountains in background
This commit is contained in:
Matteo Pagliazzi
2017-09-27 20:59:49 +02:00
committed by GitHub
parent e1ad19c216
commit d40543f4ca
5 changed files with 71 additions and 23 deletions

View File

@@ -44,8 +44,12 @@
methods: {
goToNewGroupPage () {
if (!this.$store.state.isUserLoggedIn) {
this.$store.state.afterLoginRedirect = '/group-plans';
this.$router.push('/register');
this.$router.push({
name: 'register',
query: {
redirectTo: '/group-plans',
},
});
return;
}