Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(j-s): Hide laws broken #16477

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,13 @@ const Completed: FC = () => {
</Box>
{(hasLawsBroken || hasMergeCases) && (
<Box marginBottom={5}>
{/*
NOTE: Temporarily hidden while list of laws broken is not complete in
indictment cases

{hasLawsBroken && (
<IndictmentsLawsBrokenAccordionItem workingCase={workingCase} />
)}
)} */}
{hasMergeCases && (
<Accordion>
{workingCase.mergedCases?.map((mergedCase) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,15 @@ const IndictmentOverview = () => {
<Box component="section" marginBottom={5}>
<InfoCardActiveIndictment />
</Box>
{/*
NOTE: Temporarily hidden while list of laws broken is not complete in
indictment cases

{lawsBroken.size > 0 && (
<Box marginBottom={5}>
<IndictmentsLawsBrokenAccordionItem workingCase={workingCase} />
</Box>
)}
)} */}
{workingCase.mergedCases && workingCase.mergedCases.length > 0 && (
<Accordion>
{workingCase.mergedCases.map((mergedCase) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,13 @@ const Overview: FC = () => {
</Box>
{(hasLawsBroken || hasMergeCases) && (
<Box marginBottom={5}>
{/*
NOTE: Temporarily hidden while list of laws broken is not complete in
indictment cases

{hasLawsBroken && (
<IndictmentsLawsBrokenAccordionItem workingCase={workingCase} />
)}
)} */}
{hasMergeCases && (
<Accordion>
{workingCase.mergedCases?.map((mergedCase) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,15 @@ export const Overview = () => {
}
/>
</Box>
{/*
NOTE: Temporarily hidden while list of laws broken is not complete in
indictment cases

{lawsBroken.size > 0 && (
<Box marginBottom={5}>
<IndictmentsLawsBrokenAccordionItem workingCase={workingCase} />
</Box>
)}
)} */}
{workingCase.caseFiles && (
<Box component="section" marginBottom={5}>
<IndictmentCaseFilesList workingCase={workingCase} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,13 @@ const IndictmentOverview: FC = () => {
</Box>
{(hasLawsBroken || hasMergeCases) && (
<Box marginBottom={5}>
{/*
NOTE: Temporarily hidden while list of laws broken is not complete in
indictment cases

{hasLawsBroken && (
<IndictmentsLawsBrokenAccordionItem workingCase={workingCase} />
)}
)} */}
{hasMergeCases && (
<Accordion>
{workingCase.mergedCases?.map((mergedCase) => (
Expand Down