Skip to content

Commit 860960c

Browse files
authored
Merge pull request #6190 from ProcessMaker/feature/FOUR-13370
feature/FOUR-13370: The Avatar is not working correctly as Participant and Designer
2 parents 8955888 + ceb5a0b commit 860960c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

resources/js/processes/screen-builder/typeDisplay.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const TableControl = FormBuilderControls.find((control) => control.rendererBindi
99
const RichTextControl = FormBuilderControls.find((control) => control.rendererBinding === "FormHtmlEditor");
1010
const FormRecordList = FormBuilderControls.find((control) => control.rendererBinding === "FormRecordList");
1111
const FormImage = FormBuilderControls.find((control) => control.rendererBinding === "FormImage");
12+
const FormAvatar = FormBuilderControls.find((control) => control.rendererBinding === "FormAvatar");
1213
const FormLoop = FormBuilderControls.find((control) => control.rendererBinding === "FormLoop");
1314
const FormNestedScreen = FormBuilderControls.find((control) => control.rendererBinding === "FormNestedScreen");
1415
const 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,

resources/js/processes/screen-builder/typeForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)