Skip to content

Commit

Permalink
Clean up overlooked items.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeelmers committed Apr 23, 2020
1 parent 0588f1e commit e17a097
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/plugins/data/public/search/aggs/agg_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ export class AggConfig {
if (deserializedParam && deserializedParam.toExpressionAst) {
// If the param provides `toExpressionAst`, we call it with the value
const paramExpressionAst = deserializedParam.toExpressionAst(this.getParam(key));
// const paramExpressionAst = deserializedParam.toExpressionAst(this.getParam(key), value);
if (paramExpressionAst) {
acc[key] = [
{
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/data/public/search/aggs/buckets/terms_fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export const aggTerms = (): FunctionDefinition => ({
enabled: {
types: ['boolean'],
default: true,
help: i18n.translate('data.search.aggs.buckets.terms.field.help', {
defaultMessage: 'Field to use for this aggregation',
help: i18n.translate('data.search.aggs.buckets.terms.enabled.help', {
defaultMessage: 'Specifies whether this aggregation should be enabled',
}),
},
schema: {
Expand Down

0 comments on commit e17a097

Please sign in to comment.