Hide controls on closed appeals
This commit is contained in:
@ -130,7 +130,7 @@ export default function (props: AppealCardProps) {
|
|||||||
</Stack>
|
</Stack>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
<CardFooter pb="4px">
|
<CardFooter pb="4px">
|
||||||
<Box>
|
<Box visibility={props.open ? "visible" : "hidden"}>
|
||||||
<Button colorScheme="red" onClick={() => showModal("Deny")}>
|
<Button colorScheme="red" onClick={() => showModal("Deny")}>
|
||||||
Deny
|
Deny
|
||||||
</Button>
|
</Button>
|
||||||
|
Reference in New Issue
Block a user