onairos 0.1.310 → 0.1.312

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.
@@ -26,11 +26,11 @@ function IndividualConnection(props) {
26
26
  console.log("With new Checked state now being: ", newState);
27
27
  console.log("Current number of selection: ", props.number + 1);
28
28
  // Update the counter
29
- // if (newState) {
30
- // changeGranted(1);
31
- // } else {
32
- // changeGranted(-1);
33
- // }
29
+ if (newState) {
30
+ props.changeGranted(1);
31
+ } else {
32
+ props.changeGranted(-1);
33
+ }
34
34
  // onSelectionChange(type);
35
35
  };
36
36
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onairos",
3
- "version": "0.1.310",
3
+ "version": "0.1.312",
4
4
  "dependencies": {
5
5
  "@othent/kms": "^2.0.0-beta.10",
6
6
  "@react-oauth/google": "^0.12.1",
@@ -17,11 +17,11 @@ export default function IndividualConnection(props) {
17
17
  console.log("With new Checked state now being: ", newState)
18
18
  console.log("Current number of selection: ", (props.number + 1))
19
19
  // Update the counter
20
- // if (newState) {
21
- // changeGranted(1);
22
- // } else {
23
- // changeGranted(-1);
24
- // }
20
+ if (newState) {
21
+ props.changeGranted(1);
22
+ } else {
23
+ props.changeGranted(-1);
24
+ }
25
25
  // onSelectionChange(type);
26
26
  };
27
27