Skip to content

Commit

Permalink
addressed PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
amsiglan committed Jul 30, 2023
1 parent 3fbd526 commit 7b62402
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion public/pages/LogTypes/components/DeleteLogTypeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export const DeleteLogTypeModal: React.FC<DeleteLogTypeModalProps> = ({
<EuiModalBody>
<EuiCallOut
size="s"
title={`This log type is associated with ${detectionRulesCount} detection rules.`}
title={`This log type is associated with ${detectionRulesCount} detection ${
detectionRulesCount > 1 ? 'rules' : 'rule'
}.`}
iconType={'iInCircle'}
color="warning"
/>
Expand Down
2 changes: 1 addition & 1 deletion public/pages/LogTypes/components/LogTypeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const LogTypeForm: React.FC<LogTypeFormProps> = ({
setLogTypeDetails(newLogType);
updateErrors(newLogType);
}}
placeholder="Enter name for log type"
placeholder="Enter name for the log type"
disabled={!isEditMode || !!logTypeDetails.detectionRules}
/>
</EuiFormRow>
Expand Down
2 changes: 1 addition & 1 deletion public/pages/LogTypes/containers/CreateLogType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const CreateLogType: React.FC<CreateLogTypeProps> = ({ history, notificat
subTitleText={
<p>
Create log type to categorize and identify detection rules for your data sources. &nbsp;{' '}
<EuiLink href={'www.bing.com'} target="_blank">
<EuiLink href={'#'} target="_blank">
Learn more
</EuiLink>
</p>
Expand Down

0 comments on commit 7b62402

Please sign in to comment.