From c1a84a4cd010542a0a9b63348cfadcd1c3b46a7e Mon Sep 17 00:00:00 2001 From: Ruben Vandamme Date: Thu, 23 May 2024 20:21:58 +0200 Subject: [PATCH] do it everywhere --- frontend/src/components/SimpleTests/SimpleTests.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/SimpleTests/SimpleTests.tsx b/frontend/src/components/SimpleTests/SimpleTests.tsx index 9b648da2..fb4d4d14 100644 --- a/frontend/src/components/SimpleTests/SimpleTests.tsx +++ b/frontend/src/components/SimpleTests/SimpleTests.tsx @@ -105,7 +105,7 @@ function json_to_submission(json: any): Submission { break; } case 'EXTENSION_NOT_PRESENT': { - constraint = new Constraint('EXTENSION_NOT_PRESENT', json['extension'], id, parent_id, depth); + constraint = new Constraint('EXTENSION_NOT_PRESENT', json['not_present_extension'], id, parent_id, depth); break; } case 'EXTENSION_ONLY_PRESENT': { @@ -147,7 +147,7 @@ function json_to_submission(json: any): Submission { break; } case 'EXTENSION_NOT_PRESENT': { - constraint = new Constraint('EXTENSION_NOT_PRESENT', json['extension'], id, undefined, 0); + constraint = new Constraint('EXTENSION_NOT_PRESENT', json['not_present_extension'], id, undefined, 0); break; } case 'EXTENSION_ONLY_PRESENT': {