@spectric/ui 0.0.14 → 0.0.15

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": "@spectric/ui",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "module": "./dist/index.es.js",
@@ -141,6 +141,9 @@ declare global {
141
141
  export const rowGetValue = (context: Record<string, any>, key: string) => {
142
142
  let path = key.split(".")
143
143
  let value = context[path[0]]
144
+ if (value === null || value === undefined) {
145
+ return value
146
+ }
144
147
  if (path.length > 1) {
145
148
  value = rowGetValue(value, path.slice(1).join("."))
146
149
  }