Unhide new punishment type

This commit is contained in:
2025-08-16 23:38:20 -04:00
parent 7b68f14c2e
commit 74c0e52a80
2 changed files with 6 additions and 3 deletions

View File

@@ -286,7 +286,7 @@ export default function () {
</FormLabel>
<Input id="usernames" placeholder="builderman" />
</FormControl>
<FormControl isRequired display="none">
<FormControl isRequired>
<FormLabel htmlFor="submissionType">Type of Report</FormLabel>
<RadioGroup
id="submissionType"

View File

@@ -63,7 +63,10 @@ export default function (props: ReportCardProps & { port?: MessagePort }) {
<Heading size="lg">
Report for {props.target_usernames.toString()}
</Heading>
<Text fontSize="xs">ID(s): {props.target_ids.toString()}</Text>
<VStack>
<Text fontSize="xs">ID(s): {props.target_ids.toString()}</Text>
<Text fontSize="xs">Report Type: {props.type}</Text>
</VStack>
</CardHeader>
<CardBody>
<div style={{ position: "relative" }}>
@@ -155,7 +158,7 @@ export default function (props: ReportCardProps & { port?: MessagePort }) {
<Radio key={2} value="2">
Ban
</Radio>
<Radio key={3} value="3" display="none">
<Radio key={3} value="3">
Disallow Server Configurator
</Radio>
</VStack>