Compare commits

...

2 Commits

Author SHA1 Message Date
74c0e52a80 Unhide new punishment type 2025-08-16 23:38:20 -04:00
7b68f14c2e New option type 2025-08-16 23:36:34 -04:00
3 changed files with 7 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>

1
index.d.ts vendored
View File

@@ -72,6 +72,7 @@ declare global {
open: boolean; open: boolean;
target_ids: number[]; target_ids: number[];
target_usernames: string[]; target_usernames: string[];
type: string;
user?: { user?: {
id: string; id: string;
username: string; username: string;