From 42b5fa696a8be5bac70e11bb959b0880d1dfd691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Pantale=C3=A3o=20Gon=C3=A7alves?= Date: Tue, 11 Jun 2024 10:04:13 +0200 Subject: [PATCH] Fix "canImportKeychain" boolean for thread panel (#21062) --- .../integration-panels/thread/dialog-thread-dataset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/integrations/integration-panels/thread/dialog-thread-dataset.ts b/src/panels/config/integrations/integration-panels/thread/dialog-thread-dataset.ts index 191049ecf663..b83c57684087 100644 --- a/src/panels/config/integrations/integration-panels/thread/dialog-thread-dataset.ts +++ b/src/panels/config/integrations/integration-panels/thread/dialog-thread-dataset.ts @@ -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`