fix: unidentified files not showing in final checklist message (#3992)

* fix: unidentified files not showing in final message

* fix: remove condition
This commit is contained in:
IMB11 2025-07-14 16:23:15 +01:00 committed by GitHub
parent 5d19d31b2c
commit 2cc6bc8ce4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -365,7 +365,6 @@ function getJudgements(): ModerationJudgements {
const judgements: ModerationJudgements = {};
modPackData.value.forEach((item) => {
if (item.status && item.status !== "unidentified") {
if (item.type === "flame") {
judgements[item.sha1] = {
type: "flame",
@ -385,7 +384,6 @@ function getJudgements(): ModerationJudgements {
file_name: item.file_name,
};
}
}
});
return judgements;