From c4ae27795ab01d80b92ffc1f0ec5740775508759 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 7 Aug 2020 19:44:30 +0300 Subject: [PATCH] Add use createdLabelForDatasource --- .../app/modules/home/components/widget/lib/maps/maps-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/maps-utils.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/maps-utils.ts index c484f0c336..a94144c061 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/maps-utils.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/maps-utils.ts @@ -261,7 +261,7 @@ export function processPattern(template: string, data: { $datasource?: Datasourc } export function fillPattern(markerLabelText: string, replaceInfoLabelMarker: Array, data: FormattedData) { - let text = markerLabelText; + let text = createLabelFromDatasource(data.$datasource, markerLabelText); if (replaceInfoLabelMarker) { for(const variableInfo of replaceInfoLabelMarker) { let txtVal = '';