Skip to content

Commit

Permalink
fix: Only show DNS record tooltip if in waiting state (#22312)
Browse files Browse the repository at this point in the history
Only show DNS record tooltip if in waiting state
  • Loading branch information
frankh committed May 16, 2024
1 parent bcbd915 commit fdffb5d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/src/scenes/settings/project/Proxy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ export function Proxy(): JSX.Element {
>
{status === 'issuing' && <Spinner />}
<span className="capitalize">{status}</span>
<Tooltip title="Waiting for DNS records to be created">
<IconInfo className="cursor-pointer" />
</Tooltip>
{status === 'waiting' && (
<Tooltip title="Waiting for DNS records to be created">
<IconInfo className="cursor-pointer" />
</Tooltip>
)}
</div>
)
},
Expand Down

0 comments on commit fdffb5d

Please sign in to comment.