Browse Source

Merge pull request #12691 from maxunbearable/feature/calculated-fields-events-action

Added debug events action from calculated field table
pull/12694/head
Vladyslav Prykhodko 2 years ago
committed by GitHub
parent
commit
aa2e277c45
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts

6
ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts

@ -118,6 +118,12 @@ export class CalculatedFieldsTableConfig extends EntityTableConfig<CalculatedFie
isEnabled: () => true,
onAction: (event$, entity) => this.exportCalculatedField(event$, entity),
},
{
name: this.translate.instant('entity-view.events'),
icon: 'history',
isEnabled: () => true,
onAction: (_, entity) => this.openDebugDialog(entity),
},
{
name: '',
nameFunction: entity => this.getDebugConfigLabel(entity?.debugSettings),

Loading…
Cancel
Save