more
This commit is contained in:
@@ -148,13 +148,18 @@ const DocumentListPage = ({ perPage }) => {
|
|||||||
caseId,
|
caseId,
|
||||||
documentType
|
documentType
|
||||||
) {
|
) {
|
||||||
|
console.log("documentType in handleNavigate", documentType);
|
||||||
const _id = String(documentId);
|
const _id = String(documentId);
|
||||||
const _resGen = String(responseGenerations);
|
const _resGen = String(responseGenerations);
|
||||||
const parentCaseId = String(caseId);
|
const parentCaseId = String(caseId);
|
||||||
const _docType = String(documentType);
|
const _docType = String(documentType);
|
||||||
navigate(
|
if (documentType === "interrogatories-out") {
|
||||||
`/docedit/${_id}/${responseGenerations}/${parentCaseId}/${documentType}`
|
navigate(`/reqedit/${_id}/interrogatories-out/${parentCaseId}`);
|
||||||
);
|
} else {
|
||||||
|
navigate(
|
||||||
|
`/docedit/${_id}/${responseGenerations}/${parentCaseId}/${documentType}`
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleCancelDelete() {
|
function handleCancelDelete() {
|
||||||
|
|||||||
Reference in New Issue
Block a user