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
remove info again
Vincent01217714c6b2
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.tsindex 50256534f..01e6a145c 100644--- a/ui/component/or-asset-viewer/src/index.ts+++ b/ui/component/or-asset-viewer/src/index.ts@@ -30,7 +30,7 @@ import i18next from "i18next";import {styleMap} from "lit-html/directives/style-map";import {classMap} from "lit-html/directives/class-map";-export type PanelType = "property" | "location" | "attribute" | "history" | "chart" | "info" | "group";+export type PanelType = "property" | "location" | "attribute" | "history" | "chart" | "group";export interface PanelConfig {type?: PanelType;@@ -104,7 +104,7 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElempanelStyles: {}},"info": {- type: "info",+ type: "attribute",hideOnMobile: true,include: ["userNotes", "manufacturer", "model"],panelStyles: {@@ -530,15 +530,7 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem["Name","Version","Temperature","Vault","Latest cleansing (mins ago)"]]'></or-table>`;- } else if (panelConfig && panelConfig.type === "info") {- if (asset.type !== "urn:openremote:asset:group") {- return;- }-- content = html`- info- `;} else if (panelConfig && panelConfig.type === "attribute") {if (asset.type !== "urn:openremote:asset:group") {