mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Logstash] Remove formatted message component in favor of i18n translate function (#45658)
* Remove formatted message component in favor for i18n translate function. * Update broken test snapshot.
This commit is contained in:
parent
08c87ea365
commit
24e9bc33d7
2 changed files with 2 additions and 11 deletions
|
@ -79,11 +79,7 @@ exports[`PipelinesTable component renders component as expected 1`] = `
|
|||
Object {
|
||||
"field": "id",
|
||||
"multiSelect": false,
|
||||
"name": <FormattedMessage
|
||||
defaultMessage="Filter by ID"
|
||||
id="xpack.logstash.pipelinesTable.filterByIdLabel"
|
||||
values={Object {}}
|
||||
/>,
|
||||
"name": "Filter by ID",
|
||||
"options": Array [
|
||||
Object {
|
||||
"name": "testPipeline",
|
||||
|
|
|
@ -152,12 +152,7 @@ function PipelinesTableUi({
|
|||
{
|
||||
type: 'field_value_selection',
|
||||
field: 'id',
|
||||
name: (
|
||||
<FormattedMessage
|
||||
id="xpack.logstash.pipelinesTable.filterByIdLabel"
|
||||
defaultMessage="Filter by ID"
|
||||
/>
|
||||
),
|
||||
name: i18n.translate('xpack.logstash.pipelinesTable.filterByIdLabel', { defaultMessage: 'Filter by ID' }),
|
||||
multiSelect: false,
|
||||
options: pipelines.map(({ id }) => {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue