more
This commit is contained in:
@@ -2,6 +2,8 @@ import React from "react";
|
||||
import Button from "../pageElements/Button.js";
|
||||
import { FileEarmarkText } from "react-bootstrap-icons";
|
||||
import TextInput from "../pageElements/TextInput";
|
||||
import Tooltip from "../pageElements/Tooltip";
|
||||
import { InfoCircle } from "react-bootstrap-icons";
|
||||
|
||||
export const InfoCard = (props) => {
|
||||
const { data, onEdit, onCancel, onSave, onChangeInput, isEditing, isBusy } =
|
||||
@@ -277,6 +279,8 @@ export const DocCard = (props) => {
|
||||
responseGenerations,
|
||||
confirmDelete,
|
||||
} = props;
|
||||
const tooltipText =
|
||||
"The documet is taking longer htan usual to parse. There may be a number of reasons: unusually high traffic, a bad or corrupted conversion file, or others. Do not worry! Check back in 15 minutes. In most cases, it will be resolved. If it is not, click the 'report buton to notify support.";
|
||||
const disabled = docType ? false : true;
|
||||
return (
|
||||
<div className="doc-card-container">
|
||||
@@ -284,7 +288,9 @@ export const DocCard = (props) => {
|
||||
<div className="card-col-icon">
|
||||
<FileEarmarkText className="doc-file-icon" size="22px" />
|
||||
</div>
|
||||
<div className="doc-col2">{title}</div>
|
||||
<div className="doc-col2">
|
||||
{title} {disabled ? <Tooltip text={tooltipText} /> : <></>}
|
||||
</div>
|
||||
{dateServed ? (
|
||||
<div className="doc-col3">Served: {dateServed}</div>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user