Skip to content

Commit

Permalink
Small cr changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sabarasaba committed Jun 2, 2021
1 parent 7d6fddd commit 102f7f3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { FieldNameField } from './common_fields/field_name_field';
import { TargetField } from './common_fields/target_field';
import { PropertiesField } from './common_fields/properties_field';

const propertyOptions: EuiComboBoxOptionOption[] = [
const propertyOptions: Array<EuiComboBoxOptionOption<string>> = [
{ label: 'name' },
{ label: 'os' },
{ label: 'device' },
Expand Down Expand Up @@ -96,8 +96,8 @@ export const UserAgent: FunctionComponent = () => {
{ defaultMessage: 'Properties added to the target field.' }
)}
euiFieldProps={{
options: propertyOptions as [],
noSuggestions: !propertyOptions,
options: propertyOptions,
noSuggestions: false,
'data-test-subj': 'propertiesValueField',
}}
/>
Expand All @@ -113,7 +113,7 @@ export const UserAgent: FunctionComponent = () => {
<EuiFlexItem grow={false}>
<FormattedMessage
id="xpack.ingestPipelines.pipelineEditor.userAgentForm.extractDeviceNameFieldText"
defaultMessage="Extract Device Type"
defaultMessage="Extract device type"
/>
</EuiFlexItem>
<EuiFlexItem style={{ marginBottom: -4 }}>
Expand Down

0 comments on commit 102f7f3

Please sign in to comment.