fix history
parent
8e361d5031
commit
67e5dd2826
|
@ -83,8 +83,8 @@ export default class Score_Hist extends Command {
|
||||||
if (testDate > new Date()) hardInquiries++;
|
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'}`;
|
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 });
|
|
||||||
}
|
}
|
||||||
|
histArray.push({ name: moment(hist.date).calendar(), value: data });
|
||||||
}
|
}
|
||||||
|
|
||||||
const stat = {
|
const stat = {
|
||||||
|
@ -235,8 +235,8 @@ export default class Score_Hist extends Command {
|
||||||
if (testDate > new Date()) hardInquiries++;
|
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'}`;
|
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 });
|
|
||||||
}
|
}
|
||||||
|
histArray.push({ name: moment(hist.date).calendar(), value: data });
|
||||||
}
|
}
|
||||||
|
|
||||||
const stat = {
|
const stat = {
|
||||||
|
|
Loading…
Reference in New Issue