Fixed #556 - Error with empty objects
parent
c108bb9b87
commit
1a68b600b6
|
@ -58,7 +58,7 @@ export default class ObjectUtils {
|
|||
}
|
||||
|
||||
static resolveFieldData(data, field) {
|
||||
if (data && field) {
|
||||
if (data && Object.keys(data).length && field) {
|
||||
if (this.isFunction(field)) {
|
||||
return field(data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue