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