client/web: use IPv4 instead of IP in login view (#10483)

The IP property in node data was renamed to IPv4 but refactoring the usage
of the property was missed in this file.

Updates https://github.com/tailscale/tailscale/issues/10261

Signed-off-by: Mario Minardi <mario@tailscale.com>
pull/10473/head
Mario Minardi 12 months ago committed by GitHub
parent 137e9f4c46
commit 4a24db852a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,7 +49,7 @@ export default function LoginView({
Connect to Tailscale Connect to Tailscale
</Button> </Button>
</> </>
) : data.IP ? ( ) : data.IPv4 ? (
<> <>
<div className="mb-6"> <div className="mb-6">
<p className="text-gray-700"> <p className="text-gray-700">

Loading…
Cancel
Save