"Are you sure?" -> i18n
This commit is contained in:
parent
c71f411ad6
commit
267952b4e7
@ -321,7 +321,7 @@ const UserSettings = {
|
||||
this.$router.replace('/')
|
||||
},
|
||||
revokeToken (id) {
|
||||
if (window.confirm('Are you sure?')) {
|
||||
if (window.confirm(`${this.$i18n.t('settings.revoke_token')}?`)) {
|
||||
this.$store.dispatch('revokeToken', id)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user