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>
This commit is contained in:
Mario Minardi 2023-12-06 10:08:23 -07:00 committed by GitHub
parent 137e9f4c46
commit 4a24db852a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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">