Skip to content

Commit cf00feb

Browse files
committed
Fix i18n and type check error.
1 parent b9e5c81 commit cf00feb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export type TestSubjects =
2020
| 'documentationLink'
2121
| 'emptyPrompt'
2222
| 'filterList.filterItem'
23+
| 'includeStatsSwitch'
2324
| 'indexTable'
2425
| 'indexTableIncludeHiddenIndicesToggle'
2526
| 'indexTableIndexNameLink'
@@ -28,16 +29,17 @@ export type TestSubjects =
2829
| 'legacyTemplateTable'
2930
| 'manageTemplateButton'
3031
| 'mappingsTabContent'
31-
| 'previewTabContent'
3232
| 'noAliasesCallout'
3333
| 'noMappingsCallout'
3434
| 'noSettingsCallout'
35+
| 'previewTabContent'
3536
| 'reloadButton'
3637
| 'reloadIndicesButton'
3738
| 'row'
3839
| 'sectionError'
3940
| 'sectionLoading'
4041
| 'settingsTabContent'
42+
| 'simulateTemplatePreview'
4143
| 'summaryTab'
4244
| 'summaryTitle'
4345
| 'systemTemplatesSwitch'
@@ -49,5 +51,4 @@ export type TestSubjects =
4951
| 'templateList'
5052
| 'templatesTab'
5153
| 'templateTable'
52-
| 'viewButton'
53-
| 'simulateTemplatePreview';
54+
| 'viewButton';

x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const DataStreamTable: React.FunctionComponent<Props> = ({
6161

6262
columns.push({
6363
field: 'health',
64-
name: i18n.translate('xpack.idxMgmt.dataStreamList.table.nameColumnTitle', {
64+
name: i18n.translate('xpack.idxMgmt.dataStreamList.table.healthColumnTitle', {
6565
defaultMessage: 'Health',
6666
}),
6767
truncateText: true,

0 commit comments

Comments
 (0)