File tree Expand file tree Collapse file tree
apps/frontend/src/components/ui/moderation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -365,26 +365,24 @@ function getJudgements(): ModerationJudgements {
365365 const judgements: ModerationJudgements = {};
366366
367367 modPackData .value .forEach ((item ) => {
368- if (item .status && item .status !== " unidentified" ) {
369- if (item .type === " flame" ) {
370- judgements [item .sha1 ] = {
371- type: " flame" ,
372- id: item .id ,
373- status: item .status ,
374- link: item .url ,
375- title: item .title ,
376- file_name: item .file_name ,
377- };
378- } else if (item .type === " unknown" ) {
379- judgements [item .sha1 ] = {
380- type: " unknown" ,
381- status: item .status ,
382- proof: item .proof ,
383- link: item .url ,
384- title: item .title ,
385- file_name: item .file_name ,
386- };
387- }
368+ if (item .type === " flame" ) {
369+ judgements [item .sha1 ] = {
370+ type: " flame" ,
371+ id: item .id ,
372+ status: item .status ,
373+ link: item .url ,
374+ title: item .title ,
375+ file_name: item .file_name ,
376+ };
377+ } else if (item .type === " unknown" ) {
378+ judgements [item .sha1 ] = {
379+ type: " unknown" ,
380+ status: item .status ,
381+ proof: item .proof ,
382+ link: item .url ,
383+ title: item .title ,
384+ file_name: item .file_name ,
385+ };
388386 }
389387 });
390388
You can’t perform that action at this time.
0 commit comments