Fix "canImportKeychain" boolean for thread panel (#21062)

This commit is contained in:
Bruno Pantaleão Gonçalves 2024-06-11 10:04:13 +02:00 committed by GitHub
parent 59062d96a8
commit 42b5fa696a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ class DialogThreadDataset extends LitElement implements HassDialog {
const canImportKeychain =
hasOTBR &&
!this.hass.auth.external?.config.canTransferThreadCredentialsToKeychain &&
this.hass.auth.external?.config.canTransferThreadCredentialsToKeychain &&
network.routers?.length;
return html`<ha-dialog