100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
add attribute detail type and put a panel somewhere on top
Vincenteee03f092d48
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.tsindex 3170a26a9..2932c385e 100644--- a/ui/component/or-asset-viewer/src/index.ts+++ b/ui/component/or-asset-viewer/src/index.ts@@ -32,7 +32,7 @@ import {styleMap} from "lit-html/directives/style-map";import {classMap} from "lit-html/directives/class-map";import {DialogAction, OrMwcDialog} from "@openremote/or-mwc-components/dist/or-mwc-dialog";-export type PanelType = "property" | "location" | "attribute" | "history" | "chart" | "group";+export type PanelType = "property" | "location" | "attribute" | "history" | "chart" | "group" | "attributeDetail";export interface PanelConfig {type?: PanelType;@@ -108,6 +108,11 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem},panels: {+ attributeDetail: {+ type: "attributeDetail",+ panelStyles: {+ }+ },group: {type: "group",// childAssetTypes: {