more
This commit is contained in:
@@ -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" />
|
||||
)
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user