Space out departments
This commit is contained in:
@@ -169,20 +169,22 @@ export default function () {
|
||||
Decisions:
|
||||
<br />
|
||||
Approved:
|
||||
{Object.keys(currentInactivity.decisions ?? {}).filter(
|
||||
(d) => currentInactivity.decisions[d],
|
||||
)}
|
||||
{Object.keys(currentInactivity.decisions ?? {})
|
||||
.filter((d) => currentInactivity.decisions[d])
|
||||
.join(", ")}
|
||||
<br />
|
||||
Denied:
|
||||
{Object.keys(currentInactivity.decisions ?? {}).filter(
|
||||
(d) => !currentInactivity.decisions[d],
|
||||
)}
|
||||
{Object.keys(currentInactivity.decisions ?? {})
|
||||
.filter((d) => !currentInactivity.decisions[d])
|
||||
.join(", ")}
|
||||
<br />
|
||||
Pending:
|
||||
{currentInactivity.departments?.filter(
|
||||
(d: "DM" | "ET" | "FM" | "WM") =>
|
||||
typeof currentInactivity.decisions[d] === "undefined",
|
||||
)}
|
||||
{currentInactivity.departments
|
||||
?.filter(
|
||||
(d: "DM" | "ET" | "FM" | "WM") =>
|
||||
typeof currentInactivity.decisions[d] === "undefined",
|
||||
)
|
||||
.join(", ")}
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ModalBody>
|
||||
|
||||
Reference in New Issue
Block a user