From c2a0f8b5d99ccc3022ca9a0ee1480b37258f0381 Mon Sep 17 00:00:00 2001 From: Ruslan Date: Fri, 10 Jul 2026 17:21:04 +0300 Subject: [PATCH] UI: Fix dashboard widgets not refreshing actions after config apply Restore object-identity tracking (track widget) for the dashboard widget grid loop. The Angular 20 migration commit ff0e33c07 changed it to 'track widget.widgetId', which stopped the WidgetComponent from being recreated when doCheck() swaps in a new DashboardWidget on a config edit. Since widgetContext.customHeaderActions / actionsApi are built only in ngOnInit, applied action changes did not appear until a full reload. --- .../modules/home/components/dashboard/dashboard.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.html b/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.html index 23b6f98925..5ba7c784b3 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.html +++ b/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.html @@ -78,7 +78,7 @@
- @for (widget of dashboardWidgets; track widget.widgetId) { + @for (widget of dashboardWidgets; track widget) {