vap1 0.3.1 → 0.3.2

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.
@@ -184,7 +184,7 @@ exports.Box = (0, react_1.forwardRef)(function (props, ref) {
184
184
  props.searchBar.onExpand(isExpand);
185
185
  }
186
186
  } }), props.actionBar ? (lodash_1.default.isArray(props.actionBar) ? react_1.default.createElement(SearchBar_1.SearchBar.ActionButtons, { buttons: props.actionBar }) : props.actionBar) : []),
187
- react_1.default.createElement(BoxContext.Provider, { value: { state: state, resize: resize, root: contextRef, selectRef: props.selectBar.selectRef ? props.selectBar.selectRef : selectRef } },
187
+ react_1.default.createElement(BoxContext.Provider, { value: { state: state, resize: resize, root: contextRef, selectRef: (props.selectBar && props.selectBar.selectRef) ? props.selectBar.selectRef : selectRef } },
188
188
  react_1.default.createElement("div", { className: 'ubox-content', ref: contextRef }, state != null && props.children)),
189
189
  props.pagination && react_1.default.createElement(Upagination_1.UPagination, __assign({}, props.pagination, { className: HEIGHT_OMIT }))));
190
190
  });
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"vap1","version":"0.3.1","description":"vap1, Both support MicroService and SAP FrameWork, Support IE>9","main":"index.js","author":"Xiang da","license":"ISC"}
1
+ {"name":"vap1","version":"0.3.2","description":"vap1, Both support MicroService and SAP FrameWork, Support IE>9","main":"index.js","author":"Xiang da","license":"ISC"}