Skip to content

Commit

Permalink
use aggConfig.type.title
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Sep 29, 2020
1 parent a542b97 commit d82c35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/data/common/search/aggs/param_types/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class FieldParamType extends BaseParamType {
'Saved field "{fieldParameter}" is invalid for use with the "{aggType}" aggregation. Please select a new field.',
values: {
fieldParameter: fieldName,
aggType: aggConfig?.type?.name,
aggType: aggConfig?.type?.title,
},
}
)
Expand Down

0 comments on commit d82c35e

Please sign in to comment.