Browse Source

Enabled test with this message for OUT messages with errors

pull/9015/head
imbeacon 3 years ago
parent
commit
037dbd25d0
  1. 2
      ui-ngx/src/app/modules/home/components/event/event-table-config.ts

2
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);
}

Loading…
Cancel
Save