Skip to content

Commit d82c35e

Browse files
committed
use aggConfig.type.title
1 parent a542b97 commit d82c35e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/plugins/data/common/search/aggs/param_types

src/plugins/data/common/search/aggs/param_types/field.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class FieldParamType extends BaseParamType {
9393
'Saved field "{fieldParameter}" is invalid for use with the "{aggType}" aggregation. Please select a new field.',
9494
values: {
9595
fieldParameter: fieldName,
96-
aggType: aggConfig?.type?.name,
96+
aggType: aggConfig?.type?.title,
9797
},
9898
}
9999
)

0 commit comments

Comments
 (0)