Skip to content

Commit

Permalink
add aggregate info
Browse files Browse the repository at this point in the history
  • Loading branch information
yangw-dev committed Feb 7, 2025
1 parent c4ae567 commit 378f97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchci/components/common/DropDownList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function DropDownList({
if (defaultValue) {
setValue(defaultValue);
} else {
setValue("unkown");
setValue("none");
}
}, [defaultValue]);

Expand All @@ -34,7 +34,7 @@ export default function DropDownList({
<FormControl sx={{ m: 1, minWidth: 80 }}>
<Select value={value} onChange={handleChange} autoWidth>
{defaultValue == undefined ? (
<MenuItem value="unkown"></MenuItem>
<MenuItem value="none">None</MenuItem>
) : null}
{options.map((option, idx) => {
return (
Expand Down

0 comments on commit 378f97b

Please sign in to comment.