mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Sept 8 fixes (#9028)
* Added task sync after joining challenge * Added gem purchasing * Updated member modal style * Added community guidelines to all groups * Added group plans redirect * Began add new front page design * Fixed challenge loading on mount * Fixed upgrade * Added default summary * Fixed small nav bar styles * Added more unlock options to avatar editor * Added more home page finishes
This commit is contained in:
@@ -290,6 +290,11 @@ export default {
|
||||
passwordConfirm: this.passwordConfirm,
|
||||
});
|
||||
|
||||
if (this.$store.state.afterLoginRedirect) {
|
||||
window.location.href = this.$store.state.afterLoginRedirect;
|
||||
return;
|
||||
}
|
||||
|
||||
// @TODO do not reload entire page
|
||||
// problem is that app.vue created hook should be called again
|
||||
// after user is logged in / just signed up
|
||||
@@ -302,6 +307,11 @@ export default {
|
||||
password: this.password,
|
||||
});
|
||||
|
||||
if (this.$store.state.afterLoginRedirect) {
|
||||
window.location.href = this.$store.state.afterLoginRedirect;
|
||||
return;
|
||||
}
|
||||
|
||||
// @TODO do not reload entire page
|
||||
// problem is that app.vue created hook should be called again
|
||||
// after user is logged in / just signed up
|
||||
|
||||
Reference in New Issue
Block a user