Browse Source
Update ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts
Co-authored-by: Vladyslav Prykhodko <yanat708@gmail.com>
pull/11149/head
Max Petrov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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]; |
|
|
|
|