Skip to content

Commit e17a097

Browse files
committed
Clean up overlooked items.
1 parent 0588f1e commit e17a097

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/plugins/data/public/search/aggs/agg_config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ export class AggConfig {
323323
if (deserializedParam && deserializedParam.toExpressionAst) {
324324
// If the param provides `toExpressionAst`, we call it with the value
325325
const paramExpressionAst = deserializedParam.toExpressionAst(this.getParam(key));
326-
// const paramExpressionAst = deserializedParam.toExpressionAst(this.getParam(key), value);
327326
if (paramExpressionAst) {
328327
acc[key] = [
329328
{

src/plugins/data/public/search/aggs/buckets/terms_fn.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export const aggTerms = (): FunctionDefinition => ({
5353
enabled: {
5454
types: ['boolean'],
5555
default: true,
56-
help: i18n.translate('data.search.aggs.buckets.terms.field.help', {
57-
defaultMessage: 'Field to use for this aggregation',
56+
help: i18n.translate('data.search.aggs.buckets.terms.enabled.help', {
57+
defaultMessage: 'Specifies whether this aggregation should be enabled',
5858
}),
5959
},
6060
schema: {

0 commit comments

Comments
 (0)