@onehat/ui 0.3.271 → 0.3.272

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.3.271",
3
+ "version": "0.3.272",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -193,7 +193,7 @@ export default function withPdfButton(WrappedComponent) {
193
193
  <Column bg="#fff" w={width} h={height}>
194
194
  <FormPanel
195
195
  title="PDF Fields to Show"
196
- instructions="Please select which fields to show in the PDF."
196
+ instructions="Please select which parts to show in the PDF."
197
197
  editorType={EDITOR_TYPE__PLAIN}
198
198
  flex={1}
199
199
  Repository={Repository}
@@ -11,7 +11,7 @@ export default function testProps(id) {
11
11
  // id is actually 'self' object
12
12
  id = id.reference;
13
13
  }
14
- if (id.match(/\s/g)) {
14
+ if (id?.match(/\s/g)) {
15
15
  id = id.replace(/\s/g, '_'); // convert any spaces to underscores
16
16
  }
17
17
  if (!window && Platform.OS === 'android') {