This commit is contained in:
Kenneth Jannette
2024-01-22 16:32:28 -06:00
parent 3e50af38de
commit 434ea2ec9e

View File

@@ -295,12 +295,9 @@ export const DocCard = (props) => {
</div>
<div className="doc-col2">
{title}{" "}
{disabled ? (
isReportable ? (
<Tooltip text={tooltipText} />
) : (
<Tooltip text={pendingText} iconStyle="clock" />
)
{disabled && isReportable ? <Tooltip text={tooltipText} /> : <></>}
{disabled && !isReportable ? (
<Tooltip text={pendingText} iconStyle="clock" />
) : (
<></>
)}
@@ -359,3 +356,17 @@ export const DocCard = (props) => {
</div>
);
};
/*
{disabled ? (
isReportable ? (
<Tooltip text={tooltipText} />
) : (
<Tooltip text={pendingText} iconStyle="clock" />
)
) : (
<></>
)}
*/