more
This commit is contained in:
@@ -274,6 +274,10 @@ export const DocCard = (props) => {
|
|||||||
responseGenerations,
|
responseGenerations,
|
||||||
confirmDelete,
|
confirmDelete,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
|
const report = (documentId, docType) => {
|
||||||
|
console.log("report documentId, docType", documentId, docType);
|
||||||
|
};
|
||||||
const tooltipText =
|
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.";
|
"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;
|
const disabled = docType ? false : true;
|
||||||
@@ -301,6 +305,7 @@ export const DocCard = (props) => {
|
|||||||
<Button
|
<Button
|
||||||
labelText="Report"
|
labelText="Report"
|
||||||
className="btn btn-primary report-button"
|
className="btn btn-primary report-button"
|
||||||
|
onClick={() => report(documentId, docType)}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user