mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user