@openmrs/esm-patient-programs-app 3.1.1-pre.1589 → 3.1.1-pre.21

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.
@@ -183,9 +183,9 @@
183
183
  "entry": false,
184
184
  "recorded": false,
185
185
  "reason": "reused as split chunk (cache group: default)",
186
- "size": 511802,
186
+ "size": 512978,
187
187
  "sizes": {
188
- "javascript": 511718,
188
+ "javascript": 512894,
189
189
  "consume-shared": 84
190
190
  },
191
191
  "names": [],
@@ -199,7 +199,7 @@
199
199
  "auxiliaryFiles": [
200
200
  "357.js.map"
201
201
  ],
202
- "hash": "7cc90d4e47bc6ca337ca",
202
+ "hash": "dde9ba8abfbcba950ac8",
203
203
  "childrenByOrder": {}
204
204
  },
205
205
  {
@@ -320,10 +320,10 @@
320
320
  "initial": false,
321
321
  "entry": false,
322
322
  "recorded": false,
323
- "size": 150759,
323
+ "size": 150804,
324
324
  "sizes": {
325
325
  "consume-shared": 42,
326
- "javascript": 150717
326
+ "javascript": 150762
327
327
  },
328
328
  "names": [],
329
329
  "idHints": [],
@@ -336,7 +336,7 @@
336
336
  "auxiliaryFiles": [
337
337
  "593.js.map"
338
338
  ],
339
- "hash": "b1036422084220006ac7",
339
+ "hash": "33dca3529e7f281d81d0",
340
340
  "childrenByOrder": {}
341
341
  },
342
342
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-patient-programs-app",
3
- "version": "3.1.1-pre.1589",
3
+ "version": "3.1.1-pre.21",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Patient programs microfrontend for the OpenMRS SPA",
6
6
  "browser": "dist/openmrs-esm-patient-programs-app.js",
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "@carbon/charts-react": "^0.49.4",
38
38
  "@carbon/icons-react": "^10.18.0",
39
- "@openmrs/esm-patient-common-lib": "^3.1.1-pre.1589",
39
+ "@openmrs/esm-patient-common-lib": "^3.1.1-pre.21",
40
40
  "carbon-components-react": "^7.25.0",
41
41
  "d3": "^7.0.3",
42
42
  "lodash-es": "^4.17.15"
@@ -52,5 +52,5 @@
52
52
  "react-router-dom": "5.x",
53
53
  "rxjs": "6.x"
54
54
  },
55
- "gitHead": "bafdb9ffbc0ebcb8b0b51169c7d771fe721cea36"
55
+ "gitHead": "5472d6c16cc1ba752c99dc6a3e9b2d5f38719ca9"
56
56
  }
@@ -175,7 +175,7 @@ const ProgramsForm: React.FC<DefaultWorkspaceProps> = ({ closeWorkspace, patient
175
175
  </FormGroup>
176
176
  </div>
177
177
  <ButtonSet className={isTablet ? styles.tablet : styles.desktop}>
178
- <Button className={styles.button} kind="secondary" onClick={closeWorkspace}>
178
+ <Button className={styles.button} kind="secondary" onClick={() => closeWorkspace()}>
179
179
  {t('cancel', 'Cancel')}
180
180
  </Button>
181
181
  <Button className={styles.button} kind="primary" disabled={!selectedProgram} type="submit">