feat: add cancel button to player modal dialog
This commit is contained in:
parent
893ada71a8
commit
8313847806
@ -82,6 +82,7 @@ const editPlayer = async (player: PlayerEdit): Promise<void> => {
|
||||
if (player.id != user.id) {
|
||||
playerDialogButtons.value.push({ id: 'delete', name: 'Delete', type: 'caution' })
|
||||
}
|
||||
playerDialogButtons.value.push({id: 'cancel', name: 'Cancel', type: 'normal'})
|
||||
playerDialogPlayer.value = {
|
||||
...player,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user