Browse Source
Merge pull request #9015 from imbeacon/feature/test-with-this-debug-message-error-out
Enabled test with this message for OUT messages with errors
pull/9019/head
Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/event/event-table-config.ts
|
|
|
@ -360,7 +360,7 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> { |
|
|
|
this.cellActionDescriptors.push({ |
|
|
|
name: this.translate.instant('rulenode.test-with-this-message', {test: this.translate.instant(this.testButtonLabel)}), |
|
|
|
icon: 'bug_report', |
|
|
|
isEnabled: (entity) => entity.body.type === 'IN', |
|
|
|
isEnabled: (entity) => entity.body.type === 'IN' || entity.body.error !== undefined, |
|
|
|
onAction: ($event, entity) => { |
|
|
|
this.debugEventSelected.next(entity.body); |
|
|
|
} |
|
|
|
|