feat: add cancel button to player modal dialog

This commit is contained in:
Settel 2022-12-10 22:05:21 +01:00
parent 893ada71a8
commit 8313847806

View File

@ -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,
}