Skip to content

Commit

Permalink
Fixes request case filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
gudjong committed Jun 16, 2024
1 parent de91e4d commit c1e48e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/judicial-system/web/src/routes/Shared/Cases/Cases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export const Cases: React.FC = () => {
</div>
) : (
<>
{isProsecutionUser(user) && filter.value !== 'INVESTIGATION' && (
{isProsecutionUser(user) && (
<>
<CasesAwaitingConfirmationTable
loading={loading}
Expand Down Expand Up @@ -317,7 +317,7 @@ export const Cases: React.FC = () => {
</TableWrapper>
</>
)}
{isDistrictCourtUser(user) && filter.value !== 'INVESTIGATION' && (
{isDistrictCourtUser(user) && (
<>
<CasesAwaitingAssignmentTable
cases={casesAwaitingAssignment}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const useFilter = (
)

return {
filter: filter,
filter,
setFilter: setFilterAndStore,
options: optionsMemo,
activeCases,
Expand Down

0 comments on commit c1e48e1

Please sign in to comment.