From 4e8c6051e467f974cde0a4d2f0718ac2c4c7ccea Mon Sep 17 00:00:00 2001 From: Contramundum Date: Thu, 7 Sep 2023 17:42:08 +0900 Subject: [PATCH] Apply review comment --- optuna_dashboard/ts/components/PreferentialTrials.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/optuna_dashboard/ts/components/PreferentialTrials.tsx b/optuna_dashboard/ts/components/PreferentialTrials.tsx index f3166627..08efd9a7 100644 --- a/optuna_dashboard/ts/components/PreferentialTrials.tsx +++ b/optuna_dashboard/ts/components/PreferentialTrials.tsx @@ -42,6 +42,8 @@ const PreferentialTrial: FC<{ ) } + const isBestTrial = trial.state === "Complete" + return ( true} + isBestTrial={() => isBestTrial} directions={[]} objectiveNames={[]} />