Skip to content

Commit

Permalink
#19 Add alert for delete action
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-werner committed Mar 22, 2024
1 parent a95cf25 commit 514c07a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions resources/js/datagrid/Components/Actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ const confirmDeletion = () => {
};
const submitDelete = () => {
// router.delete(route(route().current())+'/'+props.row[props.primarykey], {
// errorBag: 'delete',
// onSuccess: () => confirmingDeletion.value = false
// });
alert('Simulating deleting of row with id='+props.row[props.primarykey]);
};
</script>

Expand Down

0 comments on commit 514c07a

Please sign in to comment.