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> </FormLabel>
<Input id="usernames" placeholder="builderman" /> <Input id="usernames" placeholder="builderman" />
</FormControl> </FormControl>
<FormControl isRequired display="none"> <FormControl isRequired>
<FormLabel htmlFor="submissionType">Type of Report</FormLabel> <FormLabel htmlFor="submissionType">Type of Report</FormLabel>
<RadioGroup <RadioGroup
id="submissionType" id="submissionType"

View File

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