From ca50985f2d4478d1434d71eb0a3041a2bcf3ff08 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Sun, 4 Feb 2024 15:15:31 -0500 Subject: [PATCH] s --- src/app/Rules/RulesUploadModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Rules/RulesUploadModal.tsx b/src/app/Rules/RulesUploadModal.tsx index 78e726ca9..4ad7963bb 100644 --- a/src/app/Rules/RulesUploadModal.tsx +++ b/src/app/Rules/RulesUploadModal.tsx @@ -36,7 +36,7 @@ export const parseRule = (file: File): Observable => { file.text().then((content) => { const obj = JSON.parse(content); if (obj.id) { - obj.remove('id') + obj.remove('id'); } if (isRule(obj)) { return obj;