@arbisoft/react-design-tool 1.0.31 → 1.0.33

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.
package/dist/esm/index.js CHANGED
@@ -5174,6 +5174,9 @@ var TemplateSideBar = function TemplateSideBar(_ref) {
5174
5174
  key: index,
5175
5175
  onClick: function onClick() {
5176
5176
  oncreateNewTemplate(item === null || item === void 0 ? void 0 : item.elements);
5177
+ if (typeof onTemplateSelect === 'function') {
5178
+ onTemplateSelect(item === null || item === void 0 ? void 0 : item.id);
5179
+ }
5177
5180
  }
5178
5181
  }, /*#__PURE__*/React.createElement(StyledImage, {
5179
5182
  src: item === null || item === void 0 ? void 0 : item.image,