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:
parent
fe7dd8e312
commit
81aa66c514
@ -233,7 +233,7 @@
|
|||||||
"name": "algorithmPrivacy",
|
"name": "algorithmPrivacy",
|
||||||
"label": "Algorithm Privacy",
|
"label": "Algorithm Privacy",
|
||||||
"type": "checkbox",
|
"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.",
|
"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
|
"required": false
|
||||||
},
|
},
|
||||||
|
@ -234,11 +234,6 @@ export default function FormStartCompute({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Form className={styles.form}>
|
<Form className={styles.form}>
|
||||||
<Alert
|
|
||||||
className={styles.warning}
|
|
||||||
state="info"
|
|
||||||
text={siteContent.warning.ctd}
|
|
||||||
/>
|
|
||||||
{content.form.data.map((field: FormFieldContent) => {
|
{content.form.data.map((field: FormFieldContent) => {
|
||||||
return (
|
return (
|
||||||
<Field
|
<Field
|
||||||
|
@ -77,13 +77,6 @@ export default function MetadataFields(): ReactElement {
|
|||||||
name="metadata.type"
|
name="metadata.type"
|
||||||
options={assetTypeOptions}
|
options={assetTypeOptions}
|
||||||
/>
|
/>
|
||||||
{values.services[0].access === 'compute' && (
|
|
||||||
<Alert
|
|
||||||
className={styles.fieldWarning}
|
|
||||||
state="info"
|
|
||||||
text={siteContent.warning.ctd}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
<Field
|
<Field
|
||||||
{...getFieldContent('name', content.metadata.fields)}
|
{...getFieldContent('name', content.metadata.fields)}
|
||||||
component={Input}
|
component={Input}
|
||||||
|
@ -79,13 +79,6 @@ export default function ServicesFields(): ReactElement {
|
|||||||
name="services[0].access"
|
name="services[0].access"
|
||||||
options={accessTypeOptions}
|
options={accessTypeOptions}
|
||||||
/>
|
/>
|
||||||
{values.services[0].access === 'compute' && (
|
|
||||||
<Alert
|
|
||||||
className={styles.fieldWarning}
|
|
||||||
state="info"
|
|
||||||
text={siteContent.warning.ctd}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<Field
|
<Field
|
||||||
|
Loading…
Reference in New Issue
Block a user