From 4058b9e4685201d0a74f94f1ac76e41e92739f8f Mon Sep 17 00:00:00 2001 From: Chantsova Ekaterina Date: Thu, 27 Apr 2023 11:52:23 +0300 Subject: [PATCH] Add custom modules to JS function arguments list --- .../widget/action/custom-action-pretty-editor.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-editor.component.html b/ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-editor.component.html index 727b5655df..1d72b6c05a 100644 --- a/ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-editor.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-editor.component.html @@ -51,7 +51,7 @@ [(ngModel)]="action.customFunction" (ngModelChange)="onActionUpdated()" [fillHeight]="true" - [functionArgs]="['$event', 'widgetContext', 'entityId', 'entityName', 'htmlTemplate', 'additionalParams', 'entityLabel']" + [functionArgs]="['$event', 'widgetContext', 'entityId', 'entityName', 'htmlTemplate', 'additionalParams', 'entityLabel', 'customModules']" [disableUndefinedCheck]="true" [validationArgs]="[]" [editorCompleter]="customPrettyActionEditorCompleter"