more
This commit is contained in:
@@ -46,6 +46,9 @@ const CaseDetailsPage = () => {
|
||||
if (doc.exists) {
|
||||
const data = doc.data();
|
||||
if (data.docType != undefined) {
|
||||
console.log(
|
||||
"getDocument has returned a docType---------------------------------------------------------------"
|
||||
);
|
||||
const caseId = data.parentCaseId;
|
||||
const docType = data.docType;
|
||||
const clientPosition = data.clientPosition;
|
||||
@@ -63,13 +66,14 @@ const CaseDetailsPage = () => {
|
||||
}
|
||||
|
||||
function handleIncomingDiscoveryRequest(docId, isComplaint, clientPosition) {
|
||||
generateRespIncomingDiscReq(docId, clientPosition);
|
||||
//DONT WANT< RIGHT - ONLY TRIGGER FROM THIS SIDE IF IT IS COMBINED NUMBERED
|
||||
//generateRespIncomingDiscReq(docId, clientPosition);
|
||||
const res = getDocument(docId);
|
||||
if (res === "combined-numbered") {
|
||||
const documentId = docId;
|
||||
}
|
||||
}
|
||||
// isComplaint = true - NEVER CHANGE THESE ARGS
|
||||
// isComplaint = true - NEVER CHANGE THIS/THESE ARGS
|
||||
async function generateOutgoingDiscReq(docId, clientPosition) {
|
||||
try {
|
||||
const response = await fetch(
|
||||
|
||||
@@ -287,6 +287,7 @@ const DocEditPage = (props) => {
|
||||
}
|
||||
}, [documentId, docType, docType]);
|
||||
*/
|
||||
|
||||
useEffect(() => {
|
||||
if (!docType) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user