This commit is contained in:
Kenneth Jannette
2024-01-22 15:16:23 -06:00
parent b364133103
commit f0f59a3d3f

View File

@@ -286,6 +286,7 @@ export const DocCard = (props) => {
const tooltipText = const tooltipText =
"Parsing is taking a bit longer than usual. This usually resolves within 10 - 15 minutes. If it does not, click “report” and support will address the issue within 24 hours."; "Parsing is taking a bit longer than usual. This usually resolves within 10 - 15 minutes. If it does not, click “report” and support will address the issue within 24 hours.";
const disabled = docType ? false : true; const disabled = docType ? false : true;
return ( return (
<div className="doc-card-container"> <div className="doc-card-container">
@@ -294,7 +295,16 @@ export const DocCard = (props) => {
<FileEarmarkText className="doc-file-icon" size="22px" /> <FileEarmarkText className="doc-file-icon" size="22px" />
</div> </div>
<div className="doc-col2"> <div className="doc-col2">
{title} {disabled ? <Tooltip text={tooltipText} /> : <></>} {title}{" "}
{disabled ? (
isReportable ? (
<Tooltip text={tooltipText} />
) : (
<Tooltip text={tooltipText} iconStyle="clock" />
)
) : (
<></>
)}
</div> </div>
{dateServed ? ( {dateServed ? (
<div className="doc-col3">Served: {dateServed}</div> <div className="doc-col3">Served: {dateServed}</div>
@@ -304,7 +314,7 @@ export const DocCard = (props) => {
<div className="doc-col4"> <div className="doc-col4">
<div className="jurisdiction-box">{parentCaseName}</div> <div className="jurisdiction-box">{parentCaseName}</div>
</div> </div>
{disabled ? ( {disabled && isReportable ? (
<div className="doc-col5"> <div className="doc-col5">
<Button <Button
labelText="Report" labelText="Report"