mirror of
https://github.com/corda/corda.git
synced 2024-12-20 13:33:12 +00:00
Deals are now ordered by most recent first.
This commit is contained in:
parent
20f5467e91
commit
b78995a8e4
@ -54,7 +54,7 @@ define(['angular', 'lodash', 'viewmodel/deal'], (angular, _, dealViewModel) => {
|
||||
|
||||
this.getDeals = () => {
|
||||
return load('deals', $http.get('http://localhost:31338/api/irs/deals')).then((resp) => {
|
||||
return resp.data;
|
||||
return resp.data.reverse();
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user