From db0354ef9d92f11bba091dddb1ca1a3d20468995 Mon Sep 17 00:00:00 2001 From: Jovan Cvetkovic Date: Thu, 8 Jun 2023 23:28:30 +0200 Subject: [PATCH] Custom rules multiply on the create detector page after switching log types (#625) * Custom rules multiply on the Create Detector page after switching Log types #624 Signed-off-by: Jovan Cvetkovic * Custom rules multiply on the Create Detector page after switching Log types #624 Signed-off-by: Jovan Cvetkovic --------- Signed-off-by: Jovan Cvetkovic --- .../components/DetectionRules/DetectionRulesTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRulesTable.tsx b/public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRulesTable.tsx index ab68f72f9..6412644a4 100644 --- a/public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRulesTable.tsx +++ b/public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRulesTable.tsx @@ -82,7 +82,7 @@ export const DetectionRulesTable: React.FC = ({ onRuleDetails )} items={ruleItems} - itemId={(item: RuleItem) => `${item.name}`} + itemId={(item: RuleItem) => `${item.id}`} search={search} pagination={pagination} onTableChange={onTableChangeHandler}