In version 0.7 of ng-admin I could hide the Export
button in list view with
.actions(['batch', 'create'])
However, in version 0.8 this also hides the newly introduced Add filter
button. So my question is, how can I hide only the Export
button in ng-admin 0.8
Asked
Active
Viewed 673 times
2

Madhura Jayaratne
- 2,204
- 1
- 15
- 20
2 Answers
4
This has been fixed in the master branch (currently labelled 0.9-dev) a little while ago (cf https://github.com/marmelab/ng-admin/pull/661). I suggest you use this master branch until 0.9 is released.

François Zaninotto
- 7,068
- 2
- 35
- 56
2
You just need to pass an empty string in actions
.actions([''])

Petter Friberg
- 21,252
- 9
- 60
- 109
-
it works, and if you want to show just filters, write .actions(['filter']) – Salvatore Pannozzo Capodiferro Sep 27 '16 at 12:40