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