mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Fixes formatting of fields in index data visualizer (#82593)
This commit is contained in:
parent
e9ef55c02d
commit
4b9570f209
1 changed files with 2 additions and 2 deletions
|
@ -507,7 +507,7 @@ export const Page: FC = () => {
|
|||
if (fieldData !== undefined) {
|
||||
const metricConfig: FieldVisConfig = {
|
||||
...fieldData,
|
||||
fieldFormat: field.format,
|
||||
fieldFormat: currentIndexPattern.getFormatterForField(field),
|
||||
type: ML_JOB_FIELD_TYPES.NUMBER,
|
||||
loading: true,
|
||||
aggregatable: true,
|
||||
|
@ -617,7 +617,7 @@ export const Page: FC = () => {
|
|||
|
||||
const nonMetricConfig = {
|
||||
...fieldData,
|
||||
fieldFormat: field.format,
|
||||
fieldFormat: currentIndexPattern.getFormatterForField(field),
|
||||
aggregatable: field.aggregatable,
|
||||
scripted: field.scripted,
|
||||
loading: fieldData.existsInDocs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue