more
This commit is contained in:
@@ -23,6 +23,7 @@ const CaseListPage = ({ perPage }) => {
|
|||||||
const { appState } = useContext(AppContext);
|
const { appState } = useContext(AppContext);
|
||||||
const { group } = appState;
|
const { group } = appState;
|
||||||
const appUserId = group ? group.appUserId : null;
|
const appUserId = group ? group.appUserId : null;
|
||||||
|
const state = group ? group?.state[0].code : null;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (count.current == null) {
|
if (count.current == null) {
|
||||||
@@ -134,7 +135,11 @@ const CaseListPage = ({ perPage }) => {
|
|||||||
captionTwo={c.captionTwo}
|
captionTwo={c.captionTwo}
|
||||||
jurisdiction={c.jurisdiction}
|
jurisdiction={c.jurisdiction}
|
||||||
filedDate={c.filedDate}
|
filedDate={c.filedDate}
|
||||||
caseNumber={`Index no. ${c.caseNumber}`}
|
caseNumber={
|
||||||
|
state === "ny"
|
||||||
|
? `Index no. ${c.caseNumber}`
|
||||||
|
: `Case no. ${c.caseNumber}`
|
||||||
|
}
|
||||||
caseId={c.caseId}
|
caseId={c.caseId}
|
||||||
labelText="View"
|
labelText="View"
|
||||||
onClick={handleView}
|
onClick={handleView}
|
||||||
|
|||||||
Reference in New Issue
Block a user