- S3 storages compatibility with v2

- user profile fixes
This commit is contained in:
Peter Papp
2021-04-06 18:01:59 +02:00
parent e40ddbec14
commit bf9581173c
39 changed files with 124 additions and 129 deletions
@@ -52,7 +52,7 @@
reader.readAsDataURL(file)
// Update user avatar
this.$updateImage('/user/profile', 'avatar', event.target.files[0])
this.$updateImage('/user/relationships/settings', 'avatar', event.target.files[0])
} else {
alert( this.$t('validation_errors.wrong_image') )
}
+1 -1
View File
@@ -178,7 +178,7 @@
methods: {
changeUserName() {
this.$store.commit('UPDATE_NAME', this.userInfo.name)
this.$updateText('/user/profile', 'name', this.userInfo.name)
this.$updateText('/user/relationships/settings', 'name', this.userInfo.name)
}
},
created() {