Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

hide cancel button when done discovering zwave

Vincent1b974d09f102
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.ts
index 25598ece7..904a8651e 100644
--- a/ui/component/or-asset-viewer/src/index.ts
+++ b/ui/component/or-asset-viewer/src/index.ts
@@ -413,6 +413,7 @@ export function getPanelContent(panelName: string, asset: Asset, attributes: { [
console.error(err);
})
.finally(() => {
+ cancelBtn.hidden = true;
discoverBtn.disabled = false;
discoverBtn.label = i18next.t("discoverAssets");
});