contentoh-components-library 21.5.16 → 21.5.17

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.
@@ -76,7 +76,7 @@ var UserSelector = function UserSelector(_ref) {
76
76
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
77
77
  className: "user-item",
78
78
  onClick: function onClick() {
79
- onAssign(product, user.id_user, assignationTarget, target, concept);
79
+ onAssign(product, user.id_user, assignationTarget, target, position);
80
80
  },
81
81
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
82
82
  image: (0, _data.getProfilePicture)(user.id_user, 26, 26),
@@ -40,7 +40,7 @@ var GridProducts = function GridProducts(_ref) {
40
40
  product: product,
41
41
  gridElement: gridElement,
42
42
  chkOnChange: chkOnChange,
43
- onGridClick: onGridClick,
43
+ onGridClick: gridView ? null : onGridClick,
44
44
  selected: selected,
45
45
  chkChecked: chkChecked
46
46
  }, i);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.5.16",
3
+ "version": "21.5.17",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -61,7 +61,7 @@ export const UserSelector = ({
61
61
  user.id_user,
62
62
  assignationTarget,
63
63
  target,
64
- concept
64
+ position
65
65
  );
66
66
  }}
67
67
  >
@@ -25,7 +25,7 @@ export const GridProducts = ({
25
25
  product={product}
26
26
  gridElement={gridElement}
27
27
  chkOnChange={chkOnChange}
28
- onGridClick={onGridClick}
28
+ onGridClick={gridView ? null : onGridClick}
29
29
  selected={selected}
30
30
  chkChecked={chkChecked}
31
31
  />