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

remove warning and update compute algo checkbox text (#1910)

This commit is contained in:
Bogdan Fazakas 2023-04-19 15:53:23 +03:00 committed by GitHub
parent fe7dd8e312
commit 81aa66c514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 20 deletions

View File

@ -233,7 +233,7 @@
"name": "algorithmPrivacy",
"label": "Algorithm Privacy",
"type": "checkbox",
"options": ["Keep my algorithm private"],
"options": ["Keep my algorithm private for Compute-to-Data"],
"help": "By default, your algorithm can be downloaded for free or a fixed price, in addition to running in compute jobs. Enabling this option will prevent downloading, so your algorithm can only be run as part of a compute job on a dataset.",
"required": false
},

View File

@ -234,11 +234,6 @@ export default function FormStartCompute({
return (
<Form className={styles.form}>
<Alert
className={styles.warning}
state="info"
text={siteContent.warning.ctd}
/>
{content.form.data.map((field: FormFieldContent) => {
return (
<Field

View File

@ -77,13 +77,6 @@ export default function MetadataFields(): ReactElement {
name="metadata.type"
options={assetTypeOptions}
/>
{values.services[0].access === 'compute' && (
<Alert
className={styles.fieldWarning}
state="info"
text={siteContent.warning.ctd}
/>
)}
<Field
{...getFieldContent('name', content.metadata.fields)}
component={Input}

View File

@ -79,13 +79,6 @@ export default function ServicesFields(): ReactElement {
name="services[0].access"
options={accessTypeOptions}
/>
{values.services[0].access === 'compute' && (
<Alert
className={styles.fieldWarning}
state="info"
text={siteContent.warning.ctd}
/>
)}
</>
)}
<Field