From f0f59a3d3f131c385d4bf6ac9b37e928907f0219 Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Mon, 22 Jan 2024 15:16:23 -0600 Subject: [PATCH] more --- src/pageElements/Cards.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/pageElements/Cards.js b/src/pageElements/Cards.js index 20ef58b..d6e67eb 100644 --- a/src/pageElements/Cards.js +++ b/src/pageElements/Cards.js @@ -286,6 +286,7 @@ export const DocCard = (props) => { 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."; + const disabled = docType ? false : true; return (
@@ -294,7 +295,16 @@ export const DocCard = (props) => {
- {title} {disabled ? : <>} + {title}{" "} + {disabled ? ( + isReportable ? ( + + ) : ( + + ) + ) : ( + <> + )}
{dateServed ? (
Served: {dateServed}
@@ -304,7 +314,7 @@ export const DocCard = (props) => {
{parentCaseName}
- {disabled ? ( + {disabled && isReportable ? (