1
0

feat: formatting

- remove unneeded data props
- prepare for compiler warnings vue3; see https://v3.vuejs.org/guide/migration/v-bind.html
This commit is contained in:
Dominik Pschenitschni
2021-09-08 11:59:46 +02:00
committed by kolaente
parent 4454e6cf22
commit 0da7a46612
15 changed files with 30 additions and 38 deletions

View File

@ -379,6 +379,8 @@ export default {
}),
},
methods: {
copy,
updatePassword() {
if (this.passwordConfirm !== this.passwordUpdate.newPassword) {
this.error({message: this.$t('user.settings.passwordsDontMatch')})
@ -462,9 +464,6 @@ export default {
})
.catch(e => this.error(e))
},
copy(text) {
copy(text)
},
anchorHashCheck() {
if (window.location.hash === this.$route.hash) {
const el = document.getElementById(this.$route.hash.slice(1))