From 2255f4b4d5422712323bb25e65f560e5190be9d2 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 11 Jul 2022 14:58:57 +0300 Subject: [PATCH] UI: Fixed not handle tooltip actions with contains space in name for map widgets --- .../home/components/widget/lib/maps/common-maps-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/common-maps-utils.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/common-maps-utils.ts index a1d4e8b5b6..c9a12d68d9 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/common-maps-utils.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/common-maps-utils.ts @@ -116,11 +116,11 @@ const linkActionRegex = /([^<]*)<\/link-act>/g; const buttonActionRegex = /([^<]*)<\/button-act>/g; function createLinkElement(actionName: string, actionText: string): string { - return `${actionText}`; + return `${actionText}`; } function createButtonElement(actionName: string, actionText: string) { - return ``; + return ``; } function parseTemplate(template: string, data: FormattedData,