Minor fix (for an edge case) in collection mapper.
This commit is contained in:
parent
54dc3e5a71
commit
3dd66e40f8
@ -22,7 +22,7 @@ module.exports = (refsToUUIDs) ->
|
|||||||
helper = (value) ->
|
helper = (value) ->
|
||||||
if value instanceof Array
|
if value instanceof Array
|
||||||
(helper value_ for value_ in value)
|
(helper value_ for value_ in value)
|
||||||
else if refsToUUIDs[value]
|
else if refsToUUIDs[value] isnt undefined
|
||||||
refsToUUIDs[value]
|
refsToUUIDs[value]
|
||||||
else
|
else
|
||||||
value
|
value
|
||||||
|
Loading…
Reference in New Issue
Block a user