Skip to content

Commit

Permalink
another easy ones
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Jul 29, 2020
1 parent 01ae064 commit 3d974dd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,16 @@ export const InnerIndexPatternDataPanel = function InnerIndexPatternDataPanel({
filters,
chartsThemeService: charts.theme,
}),
[core, data, currentIndexPattern, dateRange, query, filters, localState.nameFilter]
[
core,
data,
currentIndexPattern,
dateRange,
query,
filters,
localState.nameFilter,
charts.theme,
]
);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export function FieldSelect({
currentIndexPattern,
fieldMap,
operationByField,
existingFields,
]);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ const ColorPicker = ({
}
setState(updateLayer(state, { ...layer, yConfig: newYConfigs }, index));
}, 256),
[state, layer, accessor, index]
[state, setState, layer, accessor, index]
);

const colorPicker = (
Expand Down

0 comments on commit 3d974dd

Please sign in to comment.