Skip to content

Commit db0354e

Browse files
Custom rules multiply on the create detector page after switching log types (opensearch-project#625)
* Custom rules multiply on the Create Detector page after switching Log types opensearch-project#624 Signed-off-by: Jovan Cvetkovic <[email protected]> * Custom rules multiply on the Create Detector page after switching Log types opensearch-project#624 Signed-off-by: Jovan Cvetkovic <[email protected]> --------- Signed-off-by: Jovan Cvetkovic <[email protected]>
1 parent 1f8105d commit db0354e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRulesTable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const DetectionRulesTable: React.FC<DetectionRulesTableProps> = ({
8282
onRuleDetails
8383
)}
8484
items={ruleItems}
85-
itemId={(item: RuleItem) => `${item.name}`}
85+
itemId={(item: RuleItem) => `${item.id}`}
8686
search={search}
8787
pagination={pagination}
8888
onTableChange={onTableChangeHandler}

0 commit comments

Comments
 (0)