Skip to content

Commit

Permalink
EPMRPP-92444 || code review fixes - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim73i committed Jul 16, 2024
1 parent 16c8039 commit ed923d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ const AddEditNotificationModal = ({
>
{formatMessage(messages.description)}
<div className={cx('content')}>
<FieldProvider name={RULE_NAME_FIELD_KEY} type="text">
<FieldProvider name={RULE_NAME_FIELD_KEY}>
<FieldErrorHint provideHint={false} dataAutomationId={RULE_NAME_FIELD_KEY + FIELD}>
<FieldText label={formatMessage(messages.nameLabel)} defaultWidth={false} isRequired />
</FieldErrorHint>
Expand All @@ -346,7 +346,6 @@ const AddEditNotificationModal = ({
<FieldElement
name={RECIPIENTS_FIELD_KEY}
className={cx('autocomplete')}
type="text"
label={formatMessage(messages.recipientsLabel)}
dataAutomationId={RECIPIENTS_FIELD_KEY + FIELD}
>
Expand All @@ -356,7 +355,6 @@ const AddEditNotificationModal = ({
</FieldElement>
<FieldElement
name={INFORM_OWNER_FIELD_KEY}
type="checkbox"
className={cx('checkbox')}
dataAutomationId={INFORM_OWNER_FIELD_KEY + FIELD}
>
Expand Down Expand Up @@ -390,7 +388,6 @@ const AddEditNotificationModal = ({
<FieldElement
label={formatMessage(messages.inCaseLabel)}
name={SEND_CASE_FIELD_KEY}
type="text"
className={cx('input')}
dataAutomationId={SEND_CASE_FIELD_KEY + FIELD}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ const CreatePatternAnalysisModal = ({ data, handleSubmit, initialize, dirty }) =
</FieldProvider>
<FieldElement
name="type"
type="text"
label={formatMessage(messages.createPatternModalType)}
className={cx('dropdown')}
dataAutomationId="patternTypeField"
Expand All @@ -99,7 +98,6 @@ const CreatePatternAnalysisModal = ({ data, handleSubmit, initialize, dirty }) =
<FieldElement
label={formatMessage(messages.createPatternModalCondition)}
name="value"
type="text"
isRequired
dataAutomationId="patternConditionField"
>
Expand Down

0 comments on commit ed923d4

Please sign in to comment.