add login loading

This commit is contained in:
2022-05-20 00:57:48 +02:00
parent 010e03d522
commit f46f13464b
3 changed files with 8 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ export default {
beforeCreate() {
let loggedUser = this.$store.state.loggedUser
getJointAccounts(loggedUser.oauth_token, loggedUser.nosComptesId).then(data => {
// this.$store.commit('userJointAccounts', data)
this.$store.commit('userJointAccounts', data)
this.jointAccounts = data
})
},
@@ -147,7 +147,7 @@ export default {
loadJointAccounts() {
let loggedUser = this.$store.state.loggedUser
getJointAccounts(loggedUser.oauth_token, loggedUser.nosComptesId).then(data => {
// this.$store.commit('userJointAccounts', data)
this.$store.commit('userJointAccounts', data)
this.jointAccounts = data
})
},