Skip to content

Commit

Permalink
Fix and release #65
Browse files Browse the repository at this point in the history
(cherry picked from commit 2f4eb66)

(cherry picked from commit 7194143)
  • Loading branch information
Pierre Padovani committed Apr 26, 2018
1 parent ac7f47f commit cdcc898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/nested_support/index_patterns/_format_hit.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function nestedFormatHit(indexPattern, defaultFormat) {
function convert(hit, val, fieldName, recurse) {
const field = indexPattern.fields.byName[fieldName];
if (!field) {
if (val.constructor === Array && recurse) {
if (val && val.constructor === Array && recurse) {
let pArr = [];
_.forEach(val, function (item) {
let pStore = {};
Expand Down

0 comments on commit cdcc898

Please sign in to comment.