We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c5aabb commit 8f896f0Copy full SHA for 8f896f0
1 file changed
src/util.js
@@ -29,12 +29,12 @@ export function getValuesForKey (key, item) {
29
}
30
})
31
32
- // Support arrays and Immutable lists.
33
- tmp = tmp.map(r => (r && r.push && r.toArray) ? r.toArray() : r)
34
- tmp = flatten(tmp)
35
-
36
results = tmp
37
+
+ // Support arrays and Immutable lists.
+ results = results.map(r => (r && r.push && r.toArray) ? r.toArray() : r)
+ results = flatten(results)
38
39
return results.filter(r => typeof r === 'string' || typeof r === 'number')
40
0 commit comments