feat: gamemaster: confirm before deleting user
This commit is contained in:
parent
8f87f331cc
commit
b1154f9567
@ -54,8 +54,10 @@ export default {
|
||||
this.$emit('close')
|
||||
},
|
||||
async deletePlayer() {
|
||||
if (confirm(`"${this.name}" löschen?`)) {
|
||||
await this.$engine.deletePlayer({ id: this.id })
|
||||
this.$emit('close')
|
||||
}
|
||||
},
|
||||
generateCode() {
|
||||
this.authcode = ''
|
||||
|
Loading…
Reference in New Issue
Block a user