This commit is contained in:
Kenneth Jannette
2024-02-03 19:23:27 -06:00
parent bdf7395064
commit f185bedf58

View File

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