forked from AkkomaGang/akkoma-fe
"Are you sure?" -> i18n
This commit is contained in:
parent
c71f411ad6
commit
267952b4e7
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ const UserSettings = {
|
||||||
this.$router.replace('/')
|
this.$router.replace('/')
|
||||||
},
|
},
|
||||||
revokeToken (id) {
|
revokeToken (id) {
|
||||||
if (window.confirm('Are you sure?')) {
|
if (window.confirm(`${this.$i18n.t('settings.revoke_token')}?`)) {
|
||||||
this.$store.dispatch('revokeToken', id)
|
this.$store.dispatch('revokeToken', id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue