1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

output default gpu & gpuType when present

This commit is contained in:
Matthias Kretschmann 2021-11-29 17:01:56 +00:00
parent 318bc44f43
commit 9586bd9fd5
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -39,7 +39,13 @@ export default function ServicesFields(): ReactElement {
] ]
const computeEnvironmentOptions = [ const computeEnvironmentOptions = [
`Default: ${computeEnvironmentDefaults.cpu} CPU, ${computeEnvironmentDefaults.memory} memory, ${computeEnvironmentDefaults.volumeSize} disk` `Default: ${computeEnvironmentDefaults.cpu} CPU, ${
computeEnvironmentDefaults.gpu > 0
? `${computeEnvironmentDefaults.gpu} ${computeEnvironmentDefaults.gpuType} GPU, `
: ''
} ${computeEnvironmentDefaults.memory} memory, ${
computeEnvironmentDefaults.volumeSize
} disk`
] ]
// Auto-change access type based on algo privacy boolean. // Auto-change access type based on algo privacy boolean.