Skip to content

armgit / core

Public Imported from GitHub
0

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

UI update: no combination of showLabel and attributename necessary

Vincentdf2538513380
diff --git a/ui/app/manager/src/pages/page-map.ts b/ui/app/manager/src/pages/page-map.ts
index a7eefefcd..87897839f 100644
--- a/ui/app/manager/src/pages/page-map.ts
+++ b/ui/app/manager/src/pages/page-map.ts
@@ -188,7 +188,6 @@ export class PageMap extends Page<MapStateKeyed> {
if (this.config && this.config.markers) {
markerLabelAttributes = Object.values(this.config.markers)
- .filter(assetTypeMarkerConfig => assetTypeMarkerConfig.showLabel && assetTypeMarkerConfig.attributeName)
.map(assetTypeMarkerConfig => assetTypeMarkerConfig.attributeName);
}