File tree Expand file tree Collapse file tree
resources/js/processes/screen-builder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const TableControl = FormBuilderControls.find((control) => control.rendererBindi
99const RichTextControl = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormHtmlEditor" ) ;
1010const FormRecordList = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormRecordList" ) ;
1111const FormImage = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormImage" ) ;
12+ const FormAvatar = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormAvatar" ) ;
1213const FormLoop = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormLoop" ) ;
1314const FormNestedScreen = FormBuilderControls . find ( ( control ) => control . rendererBinding === "FormNestedScreen" ) ;
1415const FileDownloadControl = FormBuilderControls . find ( ( control ) => control . builderBinding === "FileDownload" ) ;
@@ -25,6 +26,7 @@ const controlsDisplay = [
2526 TableControl ,
2627 FormRecordList ,
2728 FormImage ,
29+ FormAvatar ,
2830 FormLoop ,
2931 FormNestedScreen ,
3032 FileDownloadControl ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ProcessMaker.EventBus.$on("screen-builder-init", (manager) => {
1616 initialControls . forEach ( ( config ) => {
1717 config . control . inspector . push ( ...globalProperties [ 0 ] . inspector ) ;
1818
19- if ( config . control . component !== "FormListTable" && config . control . component !== "FormAnalyticsChart" ) {
19+ if ( config . control . component !== "FormListTable" && config . control . component !== "FormAnalyticsChart" && config . control . component !== "FormAvatar" ) {
2020 manager . addControl (
2121 config . control ,
2222 config . rendererComponent ,
You can’t perform that action at this time.
0 commit comments