diff --git a/src/app/Rules/RulesUploadModal.tsx b/src/app/Rules/RulesUploadModal.tsx index 36f7d7698..4ad7963bb 100644 --- a/src/app/Rules/RulesUploadModal.tsx +++ b/src/app/Rules/RulesUploadModal.tsx @@ -35,6 +35,9 @@ export const parseRule = (file: File): Observable => { return from( file.text().then((content) => { const obj = JSON.parse(content); + if (obj.id) { + obj.remove('id'); + } if (isRule(obj)) { return obj; } else {