From 919942197681ad3f3b6569e0953ea31227318c79 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Mon, 4 Mar 2024 18:21:21 +0100 Subject: [PATCH] fix/ evaluators path in evaluation results view when there are no evaluations --- .../pages/evaluations/evaluationResults/EvaluationResults.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenta-web/src/components/pages/evaluations/evaluationResults/EvaluationResults.tsx b/agenta-web/src/components/pages/evaluations/evaluationResults/EvaluationResults.tsx index 589c8d7197..5c42ccec1c 100644 --- a/agenta-web/src/components/pages/evaluations/evaluationResults/EvaluationResults.tsx +++ b/agenta-web/src/components/pages/evaluations/evaluationResults/EvaluationResults.tsx @@ -290,7 +290,7 @@ const EvaluationResults: React.FC = () => { {!fetching && !evaluations.length ? ( - router.push(`/apps/${appId}/evaluations?tab=evaluators`) + router.push(`/apps/${appId}/evaluations/new-evaluator`) } onBeginEvaluation={() => { setNewEvalModalOpen(true)