From a2f94909cc902c3b978ffcb5ae58536c6831e0bd Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Sun, 25 Feb 2024 19:16:13 +0100 Subject: [PATCH] state modal state to false onCancel --- .../pages/evaluations/evaluators/NewEvaluatorModal.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agenta-web/src/components/pages/evaluations/evaluators/NewEvaluatorModal.tsx b/agenta-web/src/components/pages/evaluations/evaluators/NewEvaluatorModal.tsx index 4798a9b06d..d425fd2735 100644 --- a/agenta-web/src/components/pages/evaluations/evaluators/NewEvaluatorModal.tsx +++ b/agenta-web/src/components/pages/evaluations/evaluators/NewEvaluatorModal.tsx @@ -335,6 +335,9 @@ const NewEvaluatorModal: React.FC = ({ { + setNewEvalModalConfigOpen(false) + }} destroyOnClose onOk={form.submit} title={editMode ? "Edit your evaluator" : "Configure your evaluator"}