Small payment fixes (#9082)

* Fixed some parameter passing and computed placements

* reset edit when user change

* Lint fix
This commit is contained in:
Keith Holliday
2017-09-26 16:05:54 -05:00
committed by GitHub
parent 356f2c7b7f
commit 927a08defd
4 changed files with 19 additions and 15 deletions

View File

@@ -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;