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 new panel in correct manner
Vincent7e6e0c2a19c4
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.tsindex 5c499cbc2..362dcff39 100644--- a/ui/component/or-asset-viewer/src/index.ts+++ b/ui/component/or-asset-viewer/src/index.ts@@ -98,6 +98,10 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem},panels: {+ "underlying assets": {+ type: "group",+ panelStyles: {gridColumn: "2 / -1"}+ },"info": {type: "attribute",hideOnMobile: true,@@ -650,11 +654,6 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElemconfig.historyConfig = assetConfig.historyConfig || this.config.historyConfig;}}- config.panels.group = {- type: "group",- hideOnMobile: true,- panelStyles: {gridColumn: "2 / -1"}- };return config;}