Skip to content

Commit

Permalink
[Logstash] Remove formatted message component in favor of i18n transl…
Browse files Browse the repository at this point in the history
…ate function (#45658) (#46392)

* Remove formatted message component in favor for i18n translate function.

* Update broken test snapshot.
  • Loading branch information
justinkambic authored Sep 24, 2019
1 parent 862a354 commit 65217c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 65217c0

Please sign in to comment.