Compare commits
2 Commits
85871fc90a
...
74c0e52a80
| Author | SHA1 | Date | |
|---|---|---|---|
|
74c0e52a80
|
|||
|
7b68f14c2e
|
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
1
index.d.ts
vendored
1
index.d.ts
vendored
@@ -72,6 +72,7 @@ declare global {
|
||||
open: boolean;
|
||||
target_ids: number[];
|
||||
target_usernames: string[];
|
||||
type: string;
|
||||
user?: {
|
||||
id: string;
|
||||
username: string;
|
||||
|
||||
Reference in New Issue
Block a user