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

merge fixes

This commit is contained in:
Matthias Kretschmann 2021-04-22 13:11:34 +02:00
parent 14e4cc3f68
commit df643e1fd8
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 3 additions and 2 deletions

View File

@ -146,7 +146,8 @@ export default function Edit({
<Formik
initialValues={getInitialValues(
metadata,
ddo.findServiceByType('access').attributes.main.timeout,
(ddo.findServiceByType('access') || ddo.findServiceByType('compute'))
.attributes.main.timeout,
price.value
)}
validationSchema={validationSchema}

View File

@ -21,7 +21,7 @@ export function getInitialValues(
return {
name: metadata.main.name,
description: metadata.additionalInformation.description,
price: price,
price,
links: metadata.additionalInformation.links,
timeout: secondsToString(timeout)
}