Skip to content

Commit

Permalink
fixing lens regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Oct 13, 2020
1 parent 77f0367 commit df06935
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ describe('datatable_expression', () => {
value: 'shoes',
},
],
negate: true,
timeFieldName: 'a',
});
});
Expand Down Expand Up @@ -174,6 +175,7 @@ describe('datatable_expression', () => {
value: 1588024800000,
},
],
negate: false,
timeFieldName: 'b',
});
});
Expand Down Expand Up @@ -242,7 +244,7 @@ describe('datatable_expression', () => {
value: 1588024800000,
},
],
// negate: false,
negate: false,
timeFieldName: 'a',
});
});
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/lens/public/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const desanitizeFilterContext = (
defaultMessage: '(empty)',
});
const result: LensFilterEvent['data'] = {
...context,
data: context.data.map((point) =>
point.value === emptyTextValue
? {
Expand Down

0 comments on commit df06935

Please sign in to comment.