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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
0 deletions
-
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), |
|
|
|
|