Merge branch 'dev'
commit
11a6ee3827
|
@ -551,8 +551,8 @@ 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.sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime()) : [],
|
||||||
historical: historical ?? [],
|
historical: historical ?? [],
|
||||||
lastUpdated: score.lastUpdate,
|
lastUpdated: score.lastUpdate,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue