Skip to content

armgit / core

Public Imported from GitHub
0

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

Merged or-asset-viewer

Robin Dekkers431c8899e166
diff --cc ui/component/or-asset-viewer/src/index.ts
index fd0b71927,9cd573c45..f3b342f74
--- a/ui/component/or-asset-viewer/src/index.ts
+++ b/ui/component/or-asset-viewer/src/index.ts
@@@ -378,9 -367,8 +378,9 @@@ export class OrAssetViewer extends subs
}
}
};
+
const options = historyAttrs.map((attr) => [attr.name, Util.getAttributeLabel(attr, undefined)]);
- const attrName:string = historyAttrs[0].name!;
+ const attrName: string = historyAttrs[0].name!;
onRenderComplete.addCallback(() => attributeChanged(attrName));
content = html`
<style>