diff --git a/ui-ngx/src/app/modules/home/components/event/event-table.component.ts b/ui-ngx/src/app/modules/home/components/event/event-table.component.ts index 8a1d71eaf4..b354e49388 100644 --- a/ui-ngx/src/app/modules/home/components/event/event-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/event/event-table.component.ts @@ -88,21 +88,21 @@ export class EventTableComponent implements OnInit, AfterViewInit, OnDestroy { } } - private ruleNodeTestButtonLabelValue: string; + private functionTestButtonLabelValue: string; - get ruleNodeTestButtonLabel(): string { - return this.ruleNodeTestButtonLabelValue; + get functionTestButtonLabel(): string { + return this.functionTestButtonLabelValue; } @Input() - set ruleNodeTestButtonLabel(value: string) { + set functionTestButtonLabel(value: string) { if (isNotEmptyStr(value)) { - this.ruleNodeTestButtonLabelValue = value; + this.functionTestButtonLabelValue = value; } else { - this.ruleNodeTestButtonLabelValue = ''; + this.functionTestButtonLabelValue = ''; } if (this.eventTableConfig) { - this.eventTableConfig.testButtonLabel = this.ruleNodeTestButtonLabel; + this.eventTableConfig.testButtonLabel = this.functionTestButtonLabel; this.eventTableConfig.updateCellAction(); } } @@ -142,7 +142,7 @@ export class EventTableComponent implements OnInit, AfterViewInit, OnDestroy { this.overlay, this.viewContainerRef, this.cd, - this.ruleNodeTestButtonLabel, + this.functionTestButtonLabel, this.debugEventSelected ); } diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.html b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.html index 5e20a6a8e2..ba91b45f16 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.html +++ b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.html @@ -121,7 +121,7 @@ [active]="eventsTab.isActive" [tenantId]="ruleChain.tenantId.id" [entityId]="editingRuleNode.ruleNodeId" - [ruleNodeTestButtonLabel]="ruleNodeTestButtonLabel" + [functionTestButtonLabel]="ruleNodeTestButtonLabel" (debugEventSelected)="onDebugEventSelected($event)">