Handle record attributes with null values
This commit is contained in:
parent
809c4d8f5b
commit
43a7061ffe
@ -79,7 +79,7 @@ export class Util {
|
||||
const res: {[key: string]: any} = {};
|
||||
|
||||
attributes.forEach(attr => {
|
||||
res[attr.key] = this.fromGQLValue(attr.value);
|
||||
res[attr.key] = (attr.value === null) ? null : this.fromGQLValue(attr.value);
|
||||
});
|
||||
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user