Browse Source

optimization

pull/12811/head
mpetrov 2 years ago
parent
commit
9d4be3a9b3
  1. 8
      ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts

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

@ -153,13 +153,15 @@ export class CalculatedFieldsTableConfig extends EntityTableConfig<CalculatedFie
...this.additionalDebugActionConfig,
action: () => this.openDebugEventsDialog(calculatedField)
};
const { viewContainerRef } = this.getTable();
if ($event) {
$event.stopPropagation();
}
this.entityDebugSettingsService.viewContainerRef = viewContainerRef;
this.entityDebugSettingsService.renderer = this.renderer;
const { viewContainerRef, renderer } = this.entityDebugSettingsService;
if (!viewContainerRef || !renderer) {
this.entityDebugSettingsService.viewContainerRef = this.getTable().viewContainerRef;
this.entityDebugSettingsService.renderer = this.renderer;
}
this.entityDebugSettingsService.openDebugStrategyPanel({
debugSettings,

Loading…
Cancel
Save