I'm creating admin ui based on react-admin and currently searching for a solution to hide the refresh button from the AppBar.
Disabling export button was trivial (exporter={false}). Is there anything equally simple for RefreshButton? I couldn't find any working solution.
My React-admin version: 2.9.3
I know you could customize the actions with 'actions' prop on List component, but this seems to be outdated since the Refresh button was moved to the app bar..
I could provide the code to my custom AppBar if needed.
There is no simple solution, the presence of the LoadingIndicator component is not configured in AppBar: https://github.com/marmelab/react-admin/blob/master/packages/ra-ui-materialui/src/layout/AppBar.js
You can implement your AppBar component and then connect it to AppLayout: