Skip to content

Commit

Permalink
fix: copy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Apr 30, 2020
1 parent 3e9b878 commit dab164a
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions x-pack/plugins/lens/public/datatable_visualization/expression.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,40 +215,37 @@ export function DatatableComponent(props: DatatableRenderProps) {
>
<EuiToolTip
position="bottom"
content={i18n.translate('xpack.lens.filterForValueButtonTooltip', {
defaultMessage: 'Filter for value',
content={i18n.translate('xpack.lens.includeValueButtonTooltip', {
defaultMessage: 'Include value',
})}
>
<EuiButtonIcon
iconType="plusInCircle"
color="text"
aria-label={i18n.translate(
'xpack.lens.filterForValueButtonAriaLabel',
{
defaultMessage: `Filter for {value}`,
values: {
value: `${fieldName ? `${fieldName}: ` : ''}${formattedValue}`,
},
}
)}
aria-label={i18n.translate('xpack.lens.includeValueButtonAriaLabel', {
defaultMessage: `Include {value}`,
values: {
value: `${fieldName ? `${fieldName}: ` : ''}${formattedValue}`,
},
})}
data-test-subj="lensDatatableFilterFor"
onClick={() => handleFilterClick(field, value, colIndex)}
/>
</EuiToolTip>
<EuiFlexItem grow={false}>
<EuiToolTip
position="bottom"
content={i18n.translate('xpack.lens.filterOutValueButtonTooltip', {
defaultMessage: 'Filter out value',
content={i18n.translate('xpack.lens.excludeValueButtonTooltip', {
defaultMessage: 'Exclude value',
})}
>
<EuiButtonIcon
iconType="minusInCircle"
color="text"
aria-label={i18n.translate(
'xpack.lens.filterOutValueButtonAriaLabel',
'xpack.lens.excludeValueButtonAriaLabel',
{
defaultMessage: `Filter out {value}`,
defaultMessage: `Exclude {value}`,
values: {
value: `${
fieldName ? `${fieldName}: ` : ''
Expand Down

0 comments on commit dab164a

Please sign in to comment.