Update standalone_app in response to renaming

This commit is contained in:
porink0424
2024-05-08 17:21:48 +09:00
parent e017e3787d
commit 674495c1f8
2 changed files with 4 additions and 4 deletions
@@ -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>
+3 -3
View File
@@ -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"