|
|
@ -88,21 +88,21 @@ export class EventTableComponent implements OnInit, AfterViewInit, OnDestroy { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private ruleNodeTestButtonLabelValue: string; |
|
|
private functionTestButtonLabelValue: string; |
|
|
|
|
|
|
|
|
get ruleNodeTestButtonLabel(): string { |
|
|
get functionTestButtonLabel(): string { |
|
|
return this.ruleNodeTestButtonLabelValue; |
|
|
return this.functionTestButtonLabelValue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Input() |
|
|
@Input() |
|
|
set ruleNodeTestButtonLabel(value: string) { |
|
|
set functionTestButtonLabel(value: string) { |
|
|
if (isNotEmptyStr(value)) { |
|
|
if (isNotEmptyStr(value)) { |
|
|
this.ruleNodeTestButtonLabelValue = value; |
|
|
this.functionTestButtonLabelValue = value; |
|
|
} else { |
|
|
} else { |
|
|
this.ruleNodeTestButtonLabelValue = ''; |
|
|
this.functionTestButtonLabelValue = ''; |
|
|
} |
|
|
} |
|
|
if (this.eventTableConfig) { |
|
|
if (this.eventTableConfig) { |
|
|
this.eventTableConfig.testButtonLabel = this.ruleNodeTestButtonLabel; |
|
|
this.eventTableConfig.testButtonLabel = this.functionTestButtonLabel; |
|
|
this.eventTableConfig.updateCellAction(); |
|
|
this.eventTableConfig.updateCellAction(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -142,7 +142,7 @@ export class EventTableComponent implements OnInit, AfterViewInit, OnDestroy { |
|
|
this.overlay, |
|
|
this.overlay, |
|
|
this.viewContainerRef, |
|
|
this.viewContainerRef, |
|
|
this.cd, |
|
|
this.cd, |
|
|
this.ruleNodeTestButtonLabel, |
|
|
this.functionTestButtonLabel, |
|
|
this.debugEventSelected |
|
|
this.debugEventSelected |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|