File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
resources/js/processes/screen-builder Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const TableControl = FormBuilderControls.find((control) => control.rendererBindi
9
9
const RichTextControl = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormHtmlEditor" ) ;
10
10
const FormRecordList = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormRecordList" ) ;
11
11
const FormImage = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormImage" ) ;
12
+ const FormAvatar = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormAvatar" ) ;
12
13
const FormLoop = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormLoop" ) ;
13
14
const FormNestedScreen = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormNestedScreen" ) ;
14
15
const FileDownloadControl = FormBuilderControls . find ( ( control ) => control . builderBinding === "FileDownload" ) ;
@@ -25,6 +26,7 @@ const controlsDisplay = [
25
26
TableControl ,
26
27
FormRecordList ,
27
28
FormImage ,
29
+ FormAvatar ,
28
30
FormLoop ,
29
31
FormNestedScreen ,
30
32
FileDownloadControl ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ProcessMaker.EventBus.$on("screen-builder-init", (manager) => {
16
16
initialControls . forEach ( ( config ) => {
17
17
config . control . inspector . push ( ...globalProperties [ 0 ] . inspector ) ;
18
18
19
- if ( config . control . component !== "FormListTable" && config . control . component !== "FormAnalyticsChart" ) {
19
+ if ( config . control . component !== "FormListTable" && config . control . component !== "FormAnalyticsChart" && config . control . component !== "FormAvatar" ) {
20
20
manager . addControl (
21
21
config . control ,
22
22
config . rendererComponent ,
You can’t perform that action at this time.
0 commit comments