Fix config flow URLs linking to device (#24223)

This commit is contained in:
Paulus Schoutsen 2025-02-13 08:47:03 -05:00 committed by GitHub
parent bc0cc8b387
commit abbf56db1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,7 @@ export class HaConfigFlowCard extends LitElement {
? html`<a
href=${this.flow.context.configuration_url.replace(
/^homeassistant:\/\//,
""
"/"
)}
rel="noreferrer"
target=${this.flow.context.configuration_url.startsWith(