forked from jsnbuchanan/crowd-funder-for-time-pwa
fix sort order of items on contact given-amounts page
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
- 01 Change alerts into a component (to cut down duplicate code)
|
||||
- 01 Code for "nav" tabs across the bottom is duplicated on each page.
|
||||
- .2 Add "copied" feedback when they click "copy" on /account
|
||||
- .5 Fix how icons show on top of bottom bar on ContactAmounts page
|
||||
|
||||
- commit screen
|
||||
|
||||
|
||||
@@ -203,7 +203,8 @@ export default class ContactsView extends Vue {
|
||||
}
|
||||
|
||||
const sortedResult: Array<GiveServerRecord> = R.sort(
|
||||
(a, b) => new Date(a).getTime() - new Date(b).getTime(),
|
||||
(a, b) =>
|
||||
new Date(b.issuedAt).getTime() - new Date(a.issuedAt).getTime(),
|
||||
result
|
||||
);
|
||||
this.giveRecords = sortedResult;
|
||||
|
||||
Reference in New Issue
Block a user