From 6a6feb303cf7da96f9e3e34d060eb339d5e1865e Mon Sep 17 00:00:00 2001 From: imagine-hussain Date: Tue, 26 Sep 2023 01:41:02 +1000 Subject: [PATCH] add flags --- .../ValidateCtfButton/ValidateCtfButton.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/src/pages/TermPlanner/ValidateCtfButton/ValidateCtfButton.tsx b/frontend/src/pages/TermPlanner/ValidateCtfButton/ValidateCtfButton.tsx index 28057109e..c2ccc9a77 100644 --- a/frontend/src/pages/TermPlanner/ValidateCtfButton/ValidateCtfButton.tsx +++ b/frontend/src/pages/TermPlanner/ValidateCtfButton/ValidateCtfButton.tsx @@ -80,6 +80,18 @@ const ValidateCtfButton = () => { } + Unlocked Flags + +
    + {(result.flags.length > 0) && result.flags.map((flag, index) => ( + <> +
  1. + {flag} +
  2. + + ))} +
+
{ result.valid ? (