Skip to content

Commit

Permalink
Merge pull request #3043 from kopax/patch-4
Browse files Browse the repository at this point in the history
Fix custom actions cannot override basePath
  • Loading branch information
fzaninotto authored Apr 2, 2019
2 parents a827302 + 298f24c commit 2082038
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ra-ui-materialui/src/detail/Create.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const CreateView = ({
basePath,
resource,
hasList,
...actions.props,
})}
</CardContentInner>
)}
Expand Down
1 change: 1 addition & 0 deletions packages/ra-ui-materialui/src/detail/Edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export const EditView = ({
hasShow,
hasList,
resource,
...actions.props
})}
</CardContentInner>
)}
Expand Down
1 change: 1 addition & 0 deletions packages/ra-ui-materialui/src/detail/Show.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export const ShowView = ({
hasList,
hasEdit,
resource,
...actions.props
})}
</CardContentInner>
)}
Expand Down
1 change: 1 addition & 0 deletions packages/ra-ui-materialui/src/list/ListToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const ListToolbar = ({
bulkActions,
exporter,
filters,
...actions.props
})}
</Toolbar>
);
Expand Down

0 comments on commit 2082038

Please sign in to comment.