mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-12 12:40:33 +08:00
Apply review comment
This commit is contained in:
@@ -42,6 +42,8 @@ const PreferentialTrial: FC<{
|
||||
)
|
||||
}
|
||||
|
||||
const isBestTrial = trial.state === "Complete"
|
||||
|
||||
return (
|
||||
<Card
|
||||
sx={{
|
||||
@@ -159,7 +161,7 @@ const PreferentialTrial: FC<{
|
||||
>
|
||||
<TrialListDetail
|
||||
trial={trial}
|
||||
isBestTrial={() => true}
|
||||
isBestTrial={() => isBestTrial}
|
||||
directions={[]}
|
||||
objectiveNames={[]}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user