Fix history
parent
e395f4087a
commit
4578819c1a
|
@ -83,9 +83,9 @@ export default class Score_Hist extends Command {
|
|||
if (testDate > new Date()) hardInquiries++;
|
||||
});
|
||||
data += `__CommScore™:__ ${totalScore}\n__Activity:__ ${activityScore}\n__Roles:__ ${roleScore}\n__Moderation:__ ${moderationScore}\n__Cloud Services:__ ${cloudServicesScore}\n__Other:__ ${otherScore}\n__Misc:__ ${miscScore}\n\n__Hard Inquiries:__ ${hardInquiries}\n__Soft Inquiries:__ ${hist.report.softInquiries?.length ?? '0'}`;
|
||||
}
|
||||
histArray.push({ name: moment(hist.date).calendar(), value: data });
|
||||
}
|
||||
}
|
||||
|
||||
const stat = {
|
||||
totalMean: mean(totalArray),
|
||||
|
@ -235,9 +235,9 @@ export default class Score_Hist extends Command {
|
|||
if (testDate > new Date()) hardInquiries++;
|
||||
});
|
||||
data += `__CommScore™:__ ${totalScore}\n__Activity:__ ${activityScore}\n__Roles:__ ${roleScore}\n__Moderation:__ ${moderationScore}\n__Cloud Services:__ ${cloudServicesScore}\n__Other:__ ${otherScore}\n__Misc:__ ${miscScore}\n\n__Hard Inquiries:__ ${hardInquiries}\n__Soft Inquiries:__ ${hist.report.softInquiries?.length ?? '0'}`;
|
||||
}
|
||||
histArray.push({ name: moment(hist.date).calendar(), value: data });
|
||||
}
|
||||
}
|
||||
|
||||
const stat = {
|
||||
totalMean: mean(totalArray),
|
||||
|
|
Loading…
Reference in New Issue