more
This commit is contained in:
@@ -282,6 +282,7 @@ export const DocCard = (props) => {
|
||||
const uploadedAt = new Date(createdAtTime * 1000);
|
||||
const isReportable = Math.round((now - uploadedAt) / 60 / 1000) > 15;
|
||||
console.log("responseGenerations", responseGenerations);
|
||||
console.log("docType", docType);
|
||||
const disabled = docType ? false : true;
|
||||
const tooltipText =
|
||||
"Parsing is taking a bit longer than usual. This usually resolves within 15 minutes. If it does not, click “report” and support will address the issue within 24 hours.";
|
||||
@@ -297,9 +298,9 @@ export const DocCard = (props) => {
|
||||
|
||||
const isOutbound = docType === "interrogatories-out";
|
||||
const buttonText =
|
||||
docType === "interrogatories-out"
|
||||
docType === "interrogatories" && responseGenerations > 0
|
||||
? "Edit Request"
|
||||
: responseGenerations > 1
|
||||
: docType === "interrogatories-out"
|
||||
? "Edit Response"
|
||||
: "Generate Response";
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user