diff --git a/projects/common-map/src/fm-map/components/aol/layer-values/layer-values.component.html b/projects/common-map/src/fm-map/components/aol/layer-values/layer-values.component.html index 58cdfca..726d7e7 100644 --- a/projects/common-map/src/fm-map/components/aol/layer-values/layer-values.component.html +++ b/projects/common-map/src/fm-map/components/aol/layer-values/layer-values.component.html @@ -7,7 +7,7 @@
  • {{layerValue.layerName}}
    {{layerValue.date|date}}
    -
    {{layerValue.quantity}} {{layerValue.value}}{{layerValue.unit}}
    +
    {{layerValue.quantity}} {{layerValue.value}}{{layerValue.unit}}
  • diff --git a/projects/common-map/src/fm-map/effects/map.effects.ts b/projects/common-map/src/fm-map/effects/map.effects.ts index ee7622a..ff2290f 100644 --- a/projects/common-map/src/fm-map/effects/map.effects.ts +++ b/projects/common-map/src/fm-map/effects/map.effects.ts @@ -317,7 +317,7 @@ export class MapEffects { if(v !== null) { if(l.renderer && l.renderer.colorMap && l.renderer.colorMap.colormapType == "manual") { l.renderer.colorMap.entries.forEach((e) => { - if(e.value == v) { + if(e.value == v && e.label) { v=e.label; return; }