diff --git a/ui-ngx/src/app/modules/home/components/widget/legend-config.component.html b/ui-ngx/src/app/modules/home/components/widget/legend-config.component.html index 6e08046a22..8a1d86f4d6 100644 --- a/ui-ngx/src/app/modules/home/components/widget/legend-config.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/legend-config.component.html @@ -37,23 +37,27 @@ -
- +
+ {{ 'legend.show-min' | translate }} - + {{ 'legend.show-max' | translate }} - +
+
+ {{ 'legend.show-avg' | translate }} - + {{ 'legend.show-total' | translate }} - +
+
+ {{ 'legend.show-latest' | translate }} - + {{ 'legend.sort-legend' | translate }}
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,