more
This commit is contained in:
@@ -274,6 +274,10 @@ export const DocCard = (props) => {
|
||||
responseGenerations,
|
||||
confirmDelete,
|
||||
} = props;
|
||||
|
||||
const report = (documentId, docType) => {
|
||||
console.log("report documentId, docType", documentId, docType);
|
||||
};
|
||||
const tooltipText =
|
||||
"Parsing is taking longer than usual. Reasons may include high traffic, or a transitory system error. Usually this will resolve in 10 minutes. If not, click “report”, and it will be fixed in 24 hours.";
|
||||
const disabled = docType ? false : true;
|
||||
@@ -301,6 +305,7 @@ export const DocCard = (props) => {
|
||||
<Button
|
||||
labelText="Report"
|
||||
className="btn btn-primary report-button"
|
||||
onClick={() => report(documentId, docType)}
|
||||
/>
|
||||
) : (
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user