From 998e974ccb6a7bf8811cc3ff4111f788864aa648 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Mon, 9 Dec 2024 14:11:20 +0100 Subject: [PATCH] minor fix(frontend) --- .../pages/evaluations/NewEvaluation/SelectVariantSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenta-web/src/components/pages/evaluations/NewEvaluation/SelectVariantSection.tsx b/agenta-web/src/components/pages/evaluations/NewEvaluation/SelectVariantSection.tsx index 0f8867afa5..d791cf70f3 100644 --- a/agenta-web/src/components/pages/evaluations/NewEvaluation/SelectVariantSection.tsx +++ b/agenta-web/src/components/pages/evaluations/NewEvaluation/SelectVariantSection.tsx @@ -96,7 +96,7 @@ const SelectVariantSection = ({ render: (_, record) => { return record.parameters && Object.keys(record.parameters).length && - record.hasOwnProperty("model") + record.parameters.hasOwnProperty("model") ? Object.values( filterVariantParameters({record: record.parameters, key: "model"}), ).map((value, index) => (value ? {value} : "-"))