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