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
location and chart widgets back when a group is viewed
Vincentff518b603c37
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.tsindex 01e6a145c..f55c05b9e 100644--- a/ui/component/or-asset-viewer/src/index.ts+++ b/ui/component/or-asset-viewer/src/index.ts@@ -441,20 +441,12 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem} else if (panelConfig && panelConfig.type === "chart") {- if (asset.type === "urn:openremote:asset:group") {- return;- }-content = html`<or-chart id="chart" .config="${viewerConfig.chartConfig}" activeAssetId="${asset.id}" .activeAsset="${asset}" ></or-chart>`;} else if (panelConfig && panelConfig.type === "location") {- if (asset.type === "urn:openremote:asset:group") {- return;- }-const attribute = attrs.find((attr) => attr.name === AttributeType.LOCATION.attributeName);if (attribute) {// Special handling for location panel which shows an attribute selector and a map showing the location of the attribute