merge-requests/15/merge
Matthew 2021-02-02 02:22:26 -05:00
parent 46778ec7f1
commit bb8cdf13a2
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ export default class Report extends Route {
notify: score.notify, notify: score.notify,
locked: !!score.locked, locked: !!score.locked,
totalModerations: moderations?.length > 0 ? moderations.length : 0, totalModerations: moderations?.length > 0 ? moderations.length : 0,
inquiries: hardInquiries?.length > 0 ? hardInquiries : [], inquiries: hardInquiries?.length > 0 ? hardInquiries.sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime()) : [],
softInquiries: softInquiries?.length > 0 ? softInquiries : [], softInquiries: softInquiries?.length > 0 ? softInquiries : [],
historical: historical ?? [], historical: historical ?? [],
lastUpdated: score.lastUpdate, lastUpdated: score.lastUpdate,