From c0876dd70f64d714e069d05f5ba607a33027f70c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Nagygy=C3=B6rgy?= Date: Tue, 10 Dec 2024 09:19:34 +0100 Subject: [PATCH] fix: rule validation --- web/crux/src/domain/validation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/crux/src/domain/validation.ts b/web/crux/src/domain/validation.ts index c785a2870..d8177b3ab 100644 --- a/web/crux/src/domain/validation.ts +++ b/web/crux/src/domain/validation.ts @@ -423,7 +423,7 @@ const testRules = (rules: [string, EnvironmentRule][], arr: UniqueKeyValue[], fi const envErrors = arr .map((it, index) => { const { key } = it - const rule = ruleMap[key] + const rule = ruleMap.get(key) if (!rule) { return null }