Skip to content

Commit 7d1e367

Browse files
committed
clients progress percentage tooltip
1 parent d247daf commit 7d1e367

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/admin-ui/src/pages/dashboard/components/NetworkCards.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,16 @@ const ClientSection = ({
238238
</div>
239239
</div>
240240
</div>
241-
{showProgress && progress !== undefined && <ProgressBar animated now={progress} />}
241+
{showProgress && progress !== undefined && (
242+
<OverlayTrigger
243+
overlay={
244+
<Tooltip id={`${clientData.name}-${network}-progress-tooltip`}>Syncing progress: {progress}%</Tooltip>
245+
}
246+
placement="top"
247+
>
248+
<ProgressBar animated now={progress} />
249+
</OverlayTrigger>
250+
)}
242251
</div>
243252
);
244253
}

0 commit comments

Comments
 (0)