@paro.io/expert-shared-components 1.12.52 → 1.12.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -149,7 +149,7 @@ const EscalationRespondForm = ({ goBack, selectedIssue, documentUploadUrl, downl
149
149
  input: {
150
150
  escalationId: selectedIssue.escalationId,
151
151
  [isExpert ? 'expertResponse' : 'clientResponse']: responseInput,
152
- [isExpert ? 'expertSupportingDocuments' : 'clientSupportingDocuments']: uploadFiles.join(", "),
152
+ [isExpert ? 'expertSupportingDocuments' : 'clientSupportingDocuments']: uploadFiles.length > 0 ? uploadFiles.join(", ") : '',
153
153
  }
154
154
  }
155
155
  });
@@ -181,8 +181,11 @@ const EscalationSubmitForm = ({ goBack, goHome, expertsOrClients, projects, docu
181
181
  outcome: outcomeInput,
182
182
  submittedByUserId: user.userId,
183
183
  status: 'InProgress',
184
- [isExpert ? 'expertSupportingDocuments' : 'clientSupportingDocuments']: uploadFiles.join(", "),
184
+ [isExpert ? 'expertSupportingDocuments' : 'clientSupportingDocuments']: uploadFiles.length > 0 ? uploadFiles.join(", ") : '',
185
185
  statusChangedBy: user.userId,
186
+ requiresFollowUp: false,
187
+ firstReviewerId: isExpert ? user.userId : selectedUser === null || selectedUser === void 0 ? void 0 : selectedUser.id,
188
+ followOnReviewerId: isExpert ? selectedUser === null || selectedUser === void 0 ? void 0 : selectedUser.id : clientId,
186
189
  };
187
190
  try {
188
191
  yield createProjectEscalation({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paro.io/expert-shared-components",
3
- "version": "1.12.52",
3
+ "version": "1.12.53",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {