oa-componentbook 1.0.1-stage.87 → 1.0.1-stage.88

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.
@@ -284,7 +284,7 @@ function ApprovalWidget(_ref) {
284
284
  disabled: (_approvalForm$disable10 = approvalForm === null || approvalForm === void 0 ? void 0 : approvalForm.disabled) !== null && _approvalForm$disable10 !== void 0 ? _approvalForm$disable10 : false
285
285
  }))))), actionRenderType === "buttonWithFormV4" && /*#__PURE__*/_react.default.createElement(_antd.Form.Item, {
286
286
  name: "validateDocumentButton#".concat(questionId),
287
- initialValue: isApproved,
287
+ initialValue: approvalForm === null || approvalForm === void 0 ? void 0 : approvalForm.isApproved,
288
288
  rules: isMandatory ? [{
289
289
  required: true,
290
290
  message: dataTest ? /*#__PURE__*/_react.default.createElement("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "1.0.1-stage.87",
3
+ "version": "1.0.1-stage.88",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",