mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-13 12:50:51 +08:00
Update standalone_app in response to renaming
This commit is contained in:
@@ -169,7 +169,7 @@ export const StudyDetail: FC<{
|
||||
}),
|
||||
}}
|
||||
>
|
||||
{study?.study_name || "Not Found"}
|
||||
{study?.name || "Not Found"}
|
||||
</Typography>
|
||||
<Card sx={{ margin: theme.spacing(2) }}>
|
||||
<CardContent>
|
||||
|
||||
@@ -59,7 +59,7 @@ export const StudyList: FC<{
|
||||
if (k === "") {
|
||||
return true
|
||||
}
|
||||
return row.study_name.indexOf(k) >= 0
|
||||
return row.name.indexOf(k) >= 0
|
||||
})
|
||||
}
|
||||
let filteredStudies: Optuna.StudySummary[] = studies.filter(
|
||||
@@ -181,13 +181,13 @@ export const StudyList: FC<{
|
||||
<Box sx={{ display: "flex", flexWrap: "wrap" }}>
|
||||
{filteredStudies.map((study, idx) => (
|
||||
<Card
|
||||
key={study.study_id}
|
||||
key={study.id}
|
||||
sx={{ margin: theme.spacing(2), width: "500px" }}
|
||||
>
|
||||
<CardActionArea component={Link} to={`/${idx}`}>
|
||||
<CardContent>
|
||||
<Typography variant="h5" sx={{ wordBreak: "break-all" }}>
|
||||
{study.study_id}. {study.study_name}
|
||||
{study.id}. {study.name}
|
||||
</Typography>
|
||||
<Typography
|
||||
variant="subtitle1"
|
||||
|
||||
Reference in New Issue
Block a user