Skip to content

Commit

Permalink
revert log table data
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Mar 17, 2022
1 parent cc7c419 commit 5b6b26c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion x-pack/plugins/lens/common/expressions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ export * from './datatable';
export * from './xy_chart';

export * from './expression_types';
export { logDataTable } from './expressions_utils';
1 change: 0 additions & 1 deletion x-pack/plugins/lens/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
export * from './api';
export * from './constants';
export * from './types';
export { logDataTable } from './expressions';

// Note: do not import the expression folder here or the page bundle will be bloated with all
// the package
3 changes: 1 addition & 2 deletions x-pack/plugins/lens/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"lens"
],
"extraPublicDirs": [
"common/constants",
"common/expressions"
"common/constants"
],
"requiredBundles": [
"savedObjects",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import type { ExpressionFunctionDefinition } from 'src/plugins/expressions/common';
import type { LensMultiTable } from '../../../../lens/common';
import { logDataTable } from '../../../../lens/common';
import type { ChoroplethChartConfig, ChoroplethChartProps } from './types';
import { RENDERER_ID } from './expression_renderer';

Expand Down Expand Up @@ -57,10 +56,7 @@ export const getExpressionFunction = (): ExpressionFunctionDefinition<
},
},
inputTypes: ['lens_multitable'],
fn(data, args, handlers) {
if (handlers?.inspectorAdapters?.tables) {
logDataTable(handlers.inspectorAdapters.tables, data.tables);
}
fn(data, args) {
return {
type: 'render',
as: RENDERER_ID,
Expand Down

0 comments on commit 5b6b26c

Please sign in to comment.