From 2f9adab2973ca136d85cb034e50816e4c6d879a4 Mon Sep 17 00:00:00 2001 From: Max Petrov <93397261+maxunbearable@users.noreply.github.com> Date: Thu, 4 Jul 2024 12:44:17 +0300 Subject: [PATCH] Update ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts Co-authored-by: Vladyslav Prykhodko --- .../components/widget/lib/gateway/gateway-logs.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts index bb3445ad62..5fba27f86c 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts @@ -113,7 +113,7 @@ export class GatewayLogsComponent implements OnInit, AfterViewInit { private updateWidgetTitle(): void { if (this.ctx.settings.isConnectorLog && this.ctx.settings.connectorLogState) { - const widgetTitle = this.ctx['widget'].config.title; + const widgetTitle = this.ctx.widgetConfig.title; const titlePlaceholder = '${connectorName}'; if (widgetTitle.includes(titlePlaceholder)) { const connector = this.ctx.stateController.getStateParams()[this.ctx.settings.connectorLogState];