labsense-ui-kit 1.2.19 → 1.2.20

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/index.js CHANGED
@@ -4808,7 +4808,7 @@ var ButtonComponent = function ButtonComponent(_ref21) {
4808
4808
  var loaderPos = loaderProps.loaderPosition || 'right';
4809
4809
  return React__default.createElement(StyledButton, {
4810
4810
  "$disabled": disabled,
4811
- onClick: onClick,
4811
+ onClick: !disabled ? onClick : undefined,
4812
4812
  "$buttonWidth": buttonWidth,
4813
4813
  "$background": background,
4814
4814
  "$borderDefault": borderDefault,