mirror of
https://github.com/tale/headplane.git
synced 2026-09-03 18:55:41 +00:00
fix(ui): stop split DNS from crashing the page when undefined
Closes HP-548.
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
- Fixed OIDC token exchange fallback when retrying with `client_secret_basic` (closes [#493](https://github.com/tale/headplane/issues/493)).
|
- Fixed OIDC token exchange fallback when retrying with `client_secret_basic` (closes [#493](https://github.com/tale/headplane/issues/493)).
|
||||||
- Added support for proxy authentication via `server.proxy_auth` (closes [#353](https://github.com/tale/headplane/issues/353)).
|
- Added support for proxy authentication via `server.proxy_auth` (closes [#353](https://github.com/tale/headplane/issues/353)).
|
||||||
- Added automatic role assignment for new OIDC users via `oidc.default_role` and IdP-provided role claims via `oidc.role_claim` (closes [#352](https://github.com/tale/headplane/issues/352)).
|
- Added automatic role assignment for new OIDC users via `oidc.default_role` and IdP-provided role claims via `oidc.role_claim` (closes [#352](https://github.com/tale/headplane/issues/352)).
|
||||||
|
- Fixed the DNS page crashing when Headscale has no Split DNS nameservers configured (closes [#570](https://github.com/tale/headplane/issues/570)).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ function getDNSConfig(config: HeadscaleConfigState): DNSConfigView {
|
|||||||
magicDns: dns.magic_dns,
|
magicDns: dns.magic_dns,
|
||||||
baseDomain: dns.base_domain,
|
baseDomain: dns.base_domain,
|
||||||
nameservers: dns.nameservers.global,
|
nameservers: dns.nameservers.global,
|
||||||
splitDns: dns.nameservers.split,
|
splitDns: dns.nameservers.split ?? {},
|
||||||
searchDomains: dns.search_domains,
|
searchDomains: dns.search_domains,
|
||||||
overrideDns: dns.override_local_dns,
|
overrideDns: dns.override_local_dns,
|
||||||
extraRecords: dnsRecords(config),
|
extraRecords: dnsRecords(config),
|
||||||
|
|||||||
Reference in New Issue
Block a user