@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/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/table/cell.ts +3 -0
package/package.json
CHANGED
|
@@ -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
|
}
|