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