more
This commit is contained in:
@@ -143,18 +143,13 @@ const DocumentListPage = ({ perPage }) => {
|
||||
{ label: "Associated case name z - a", value: "parentCaseName2" },
|
||||
];
|
||||
|
||||
function handleNavigate(
|
||||
documentId,
|
||||
responseGenerations,
|
||||
caseId,
|
||||
documentType
|
||||
) {
|
||||
function handleNavigate(documentId, caseId, documentType) {
|
||||
const docId = String(documentId);
|
||||
const _resGen = String(responseGenerations);
|
||||
const _docType = String(documentType);
|
||||
if (documentType === "interrogatories-out") {
|
||||
//may include other in future ie req for admission
|
||||
navigate(`/reqedit/${docId}/interrogatories-out/${caseId}`);
|
||||
} else {
|
||||
console.log("----------------------> handeNave else");
|
||||
navigate(`/docedit/${docId}/${caseId}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user