Skip to content

Commit

Permalink
Fix click on DeleteButton in List redirects to Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Nov 13, 2018
1 parent 02b09dc commit 558a7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/button/DeleteButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const styles = theme => ({

class DeleteButton extends Component {
handleDelete = event => {
event.preventDefault();
event.stopPropagation();
const {
dispatchCrudDelete,
startUndoable,
Expand Down

0 comments on commit 558a7c4

Please sign in to comment.