Skip to content

Commit

Permalink
Merge pull request #4058 from marmelab/fix-list-refresh
Browse files Browse the repository at this point in the history
Fix List does not Refresh Correctly after Optimistic Update
  • Loading branch information
fzaninotto authored Nov 27, 2019
2 parents 81759f5 + 0616bd9 commit cd6979c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ra-core/src/dataProvider/useDataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ const performUndoableQuery = ({
warnBeforeClosingWindow
);
}
dispatch(refreshView());
})
.catch(error => {
if (window) {
Expand Down

0 comments on commit cd6979c

Please sign in to comment.