@onehat/ui 0.3.299 → 0.3.300

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.299",
3
+ "version": "0.3.300",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -101,7 +101,7 @@ function Viewer(props) {
101
101
  if (type?.match && type.match(/Combo$/) && Repository?.isRemote && !Repository?.isLoaded) {
102
102
  editorTypeProps.autoLoad = true;
103
103
  }
104
- if (type.match(/(Tag|TagEditor)$/)) {
104
+ if (type?.match(/(Tag|TagEditor)$/)) {
105
105
  editorTypeProps.isViewOnly = true;
106
106
  }
107
107
  const Element = getComponentFromType(type);