mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Small payment fixes (#9082)
* Fixed some parameter passing and computed placements * reset edit when user change * Lint fix
This commit is contained in:
@@ -653,6 +653,9 @@ export default {
|
||||
user () {
|
||||
let user = this.userLoggedIn;
|
||||
|
||||
// Reset editing when user is changed. Move to watch or is this good?
|
||||
this.editing = false;
|
||||
|
||||
let profileUser = this.$store.state.profileUser;
|
||||
if (profileUser._id && profileUser._id !== this.userLoggedIn._id) {
|
||||
user = profileUser;
|
||||
|
||||
Reference in New Issue
Block a user