Skip to content

Commit

Permalink
[EDR Workflows] Remove optional label from timeout input (elastic#171632
Browse files Browse the repository at this point in the history
  • Loading branch information
szwarckonrad authored Nov 21, 2023
1 parent d408557 commit a5d1810
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions x-pack/plugins/osquery/public/form/timeout_field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@ import React, { useCallback, useMemo } from 'react';
import deepEqual from 'fast-deep-equal';
import { useController } from 'react-hook-form';
import type { EuiFieldNumberProps } from '@elastic/eui';
import {
EuiFieldNumber,
EuiFlexGroup,
EuiFlexItem,
EuiFormRow,
EuiIconTip,
EuiText,
} from '@elastic/eui';
import { EuiFieldNumber, EuiFlexGroup, EuiFlexItem, EuiFormRow, EuiIconTip } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';

Expand Down Expand Up @@ -81,16 +74,6 @@ const TimeoutFieldComponent = ({ euiFieldProps }: TimeoutFieldProps) => {
fullWidth
error={error?.message}
isInvalid={hasError}
labelAppend={
<EuiFlexItem grow={false}>
<EuiText size="xs" color="subdued">
<FormattedMessage
id="xpack.osquery.osquery.liveQuery.timeoutFieldOptionalLabel"
defaultMessage="(optional)"
/>
</EuiText>
</EuiFlexItem>
}
>
<EuiFieldNumber
isInvalid={hasError}
Expand Down

0 comments on commit a5d1810

Please sign in to comment.