Fix ordering of projects

This commit is contained in:
Jake Howard 2016-03-13 20:52:25 +00:00
parent 583701920a
commit 888ab4e5f3

View file

@ -53,9 +53,9 @@ export default class ProjectList extends React.Component {
_fetch(page, callback, options) { _fetch(page, callback, options) {
getProjects().then(function (projects) { getProjects().then((projects) => {
callback(this._sortByDate(projects));
loaderHandler.hideLoader(); loaderHandler.hideLoader();
callback(projects);
}); });
} }
@ -67,7 +67,6 @@ export default class ProjectList extends React.Component {
<View style={styles.listView}> <View style={styles.listView}>
<GiftedListView <GiftedListView
rowView={this.renderRow} rowView={this.renderRow}
firstLoader={true}
refreshable={true} refreshable={true}
pagination={false} pagination={false}
onFetch={this._fetch} /> onFetch={this._fetch} />