update clear status tooltip

This commit is contained in:
Jeppe Reinhold 2025-03-26 23:10:01 +01:00
parent e50d6bdd9b
commit c622b0cf02

View File

@ -386,7 +386,13 @@ export const TestingModule = ({
{hasStatuses && (
<WithTooltip
hasChrome={false}
tooltip={<TooltipNote note="Clear all statuses" />}
tooltip={
<TooltipNote
note={
isRunning ? "Can't clear statuses while running tests" : 'Clear all statuses'
}
/>
}
trigger="hover"
>
<IconButton