Add strike creation capabilities

This commit is contained in:
2024-02-28 14:20:58 -05:00
parent 3e06541b30
commit 0334dc1678
2 changed files with 255 additions and 2 deletions

View File

@ -325,7 +325,8 @@ export default function () {
<TableContainer mt="16px">
<Table variant="simple">
<TableCaption>
Points are updated at the end of the month
Click/tap on a user's points count to change their points, their
user id to see and manage strikes.
</TableCaption>
<Thead>
<Tr>
@ -339,7 +340,19 @@ export default function () {
<Tbody>
{memberData.map((member) => (
<Tr>
<Td>{member.id}</Td>
<Td>
{isManagement ? (
<Link
onClick={() =>
location.assign(`/et-members/strikes/${member.id}`)
}
>
{member.id}
</Link>
) : (
member.id
)}
</Td>
<Td>{member.name}</Td>
<Td>{member.roblox_id}</Td>
<Td>