Skip to content

Commit

Permalink
Remove MPs grouping
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed Jun 13, 2024
1 parent bf3f616 commit ce6a3fb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions output/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Proposed [Twitter (X) community notes](https://x.com/i/communitynotes/download-d

<script>
const candidates = {% if site.data.ge2024-candidates %}{{ site.data.ge2024-candidates | jsonify }}{% else %}[]{% endif %};
const mps = {% if site.data.mps %}{{ site.data.mps | jsonify }}{% else %}[]{% endif %};
// const mps = {% if site.data.mps %}{{ site.data.mps | jsonify }}{% else %}[]{% endif %};

/*
This list comes from:
Expand Down Expand Up @@ -206,15 +206,15 @@ Proposed [Twitter (X) community notes](https://x.com/i/communitynotes/download-d
}
return candidates.includes(rowData['user'].toLowerCase());
}
},
{
label: 'Former UK MPs',
value: function (rowData, rowIdx) {
if (!rowData['user']) {
return false;
}
return mps.includes(rowData['user'].toLowerCase());
}
// },
// {
// label: 'Former UK MPs',
// value: function (rowData, rowIdx) {
// if (!rowData['user']) {
// return false;
// }
// return mps.includes(rowData['user'].toLowerCase());
// }
}
]
}
Expand Down

0 comments on commit ce6a3fb

Please sign in to comment.