bugfix: display gpu ram

This commit is contained in:
wataru 2023-06-11 01:14:37 +09:00
parent 631b9b3bf6
commit c04dde82d2
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -65,7 +65,7 @@ export const ConvertArea = (props: ConvertProps) => {
}}> }}>
{ {
gpusEntry.map(x => { gpusEntry.map(x => {
return <option key={x.id} value={x.id}>{x.name}{x.name == "cpu" ? "" : `(${(x.memory / 1024 / 1024 / 1024).toFixed(0)})GB`} </option> return <option key={x.id} value={x.id}>{x.name}{x.name == "cpu" ? "" : `(${(x.memory / 1024 / 1024 / 1024).toFixed(0)}GB)`} </option>
}) })
} }
</select> </select>