|
@ -203,7 +203,8 @@ export default class ContactsView extends Vue { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const sortedResult: Array<GiveServerRecord> = R.sort( |
|
|
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 |
|
|
result |
|
|
); |
|
|
); |
|
|
this.giveRecords = sortedResult; |
|
|
this.giveRecords = sortedResult; |
|
|