From fb6a2a05e7f08bc15472c575e74ebb064a98b5b7 Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Mon, 6 Nov 2023 11:17:07 +0200 Subject: [PATCH] UI: Fixed basic settings analog gauge --- .../config/basic/gauge/analog-gauge-basic-config.component.ts | 2 +- .../gauge/analogue-compass-widget-settings.component.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/config/basic/gauge/analog-gauge-basic-config.component.ts b/ui-ngx/src/app/modules/home/components/widget/config/basic/gauge/analog-gauge-basic-config.component.ts index 6e422105ec..10862565f6 100644 --- a/ui-ngx/src/app/modules/home/components/widget/config/basic/gauge/analog-gauge-basic-config.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/config/basic/gauge/analog-gauge-basic-config.component.ts @@ -131,7 +131,7 @@ export class GaugeBasicConfigComponent extends BasicWidgetConfigComponent { this.widgetConfig.config.settings.defaultColor = config.defaultColor; this.widgetConfig.config.settings.colorPlate = config.colorPlate; - this.widgetConfig.config.settings.highlights = config.highlights.rangeList; + this.widgetConfig.config.settings.highlights = config.highlights; return this.widgetConfig; } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/gauge/analogue-compass-widget-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/gauge/analogue-compass-widget-settings.component.html index 96c16c0359..0f3b318664 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/gauge/analogue-compass-widget-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/gauge/analogue-compass-widget-settings.component.html @@ -86,7 +86,7 @@
- + widgets.gauge.needle-circle
- +