Skip to content

Commit

Permalink
defaultIndex setting description fix - its really a data view! (elast…
Browse files Browse the repository at this point in the history
…ic#147730)

## Summary

The defaultIndex setting title and description were poor. I've updated
them to correctly reference data views and be more specific about where
they're used.

Closes elastic#143609
  • Loading branch information
mattkime authored Dec 22, 2022
1 parent 6bdbf70 commit b697704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/data/server/ui_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ export function getUiSettings(
},
defaultIndex: {
name: i18n.translate('data.advancedSettings.defaultIndexTitle', {
defaultMessage: 'Default index',
defaultMessage: 'Default data view',
}),
value: null,
type: 'string',
description: i18n.translate('data.advancedSettings.defaultIndexText', {
defaultMessage: 'The index to access if no index is set',
defaultMessage: 'Used by discover and visualizations when a data view is not set.',
}),
schema: schema.nullable(schema.string()),
},
Expand Down

0 comments on commit b697704

Please sign in to comment.