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
parent
commit
2f9adab297
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts

2
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];

Loading…
Cancel
Save