more
This commit is contained in:
@@ -156,9 +156,7 @@ const DocumentListPage = ({ perPage }) => {
|
|||||||
if (documentType === "interrogatories-out") {
|
if (documentType === "interrogatories-out") {
|
||||||
navigate(`/reqedit/${_id}/interrogatories-out/${parentCaseId}`);
|
navigate(`/reqedit/${_id}/interrogatories-out/${parentCaseId}`);
|
||||||
} else {
|
} else {
|
||||||
navigate(
|
navigate(`/docedit/${_id}/${parentCaseId}`);
|
||||||
`/docedit/${_id}/${responseGenerations}/${parentCaseId}/${documentType}`
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -353,13 +353,7 @@ export const DocCard = (props) => {
|
|||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
className={"primary-button pt-2 pb-2 gen-button"}
|
className={"primary-button pt-2 pb-2 gen-button"}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
documentId &&
|
documentId && handleNavigate(documentId, parentCaseId, docType)
|
||||||
handleNavigate(
|
|
||||||
documentId,
|
|
||||||
responseGenerations,
|
|
||||||
parentCaseId,
|
|
||||||
docType
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
labelText={buttonText}
|
labelText={buttonText}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user