diff --git a/components/InactivityNoticeCard.tsx b/components/InactivityNoticeCard.tsx
index 0656ec8..2302ffc 100644
--- a/components/InactivityNoticeCard.tsx
+++ b/components/InactivityNoticeCard.tsx
@@ -6,12 +6,25 @@ import {
CardFooter,
CardHeader,
Heading,
+ Icon,
+ ListItem,
Stack,
StackDivider,
Text,
+ UnorderedList
} from "@chakra-ui/react";
-export default function (props: InactivityNoticeProps) {
+export default function(props: InactivityNoticeProps) {
+ const Approved = () =>
+
+ ;
+
+ const Denied = () =>
+
+ ;
+
return (
@@ -32,6 +45,14 @@ export default function (props: InactivityNoticeProps) {
End Date
{new Date(props.end).toLocaleDateString()}
+ {props.decisions ?
+ Decisions
+
+ {props.decisions.map(decision =>
+ {decision.accepted ? : } {decision.department}
+ )}
+
+ : null}
diff --git a/index.d.ts b/index.d.ts
index 2ad137d..faba9cb 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -44,6 +44,10 @@ declare global {
interface InactivityNoticeProps {
created_at: number;
+ decisions?: {
+ accepted: boolean;
+ department: string;
+ }[];
departments: string[];
end: string;
reason: string;