Skip to content

Commit

Permalink
Fix and release #65
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Padovani committed Apr 26, 2018
1 parent 6cc2d2f commit 2f4eb66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nested-fields-support",
"version": "6.2.4-1.0.0",
"version": "6.2.4-1.0.1",
"description": "Nested Support Plugin",
"license": "Apache-2.0",
"authors": [
Expand Down
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 2f4eb66

Please sign in to comment.