Skip to content

Commit

Permalink
defaultIndex setting description fix - its really a data view! (#147730)
Browse files Browse the repository at this point in the history
## 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 #143609

(cherry picked from commit b697704)
  • Loading branch information
mattkime committed Dec 22, 2022
1 parent 3822da3 commit 944e957
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 @@ -164,12 +164,12 @@ export function getUiSettings(): Record<string, UiSettingsParams<unknown>> {
},
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 944e957

Please sign in to comment.