Skip to content

Commit

Permalink
remove exportFields config entry
Browse files Browse the repository at this point in the history
  • Loading branch information
ThieryMichel committed Apr 7, 2015
1 parent 179e66f commit 8c0affe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 71 deletions.
15 changes: 0 additions & 15 deletions src/javascripts/ng-admin/es6/lib/Utils/fieldsUtils.js

This file was deleted.

12 changes: 0 additions & 12 deletions src/javascripts/ng-admin/es6/lib/View/ListView.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import View from './View';
import fieldsUtils from '../Utils/fieldsUtils';

class ListView extends View {
constructor(name) {
Expand All @@ -11,7 +10,6 @@ class ListView extends View {
this._listActions = [];
this._batchActions = ['delete'];
this._filters = [];
this._exportFields = [];

this._sortField = 'id';
this._sortDir = 'DESC';
Expand Down Expand Up @@ -100,16 +98,6 @@ class ListView extends View {
return this;
}

exportFields() {
if (!arguments.length) {
return this._exportFields.length === 0 ? this._fields : this._exportFields;
}
var fields = fieldsUtils.fieldsLiteralToArray(arguments[0]);

this._exportFields = fields;

return this;
}
}

export default ListView;
44 changes: 0 additions & 44 deletions src/javascripts/ng-admin/es6/tests/lib/Utils/fieldsUtilsTest.js

This file was deleted.

0 comments on commit 8c0affe

Please sign in to comment.