From 81aa66c514c1a71c55a839f09b2a54a19bcae5b5 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Wed, 19 Apr 2023 15:53:23 +0300 Subject: [PATCH] remove warning and update compute algo checkbox text (#1910) --- content/publish/form.json | 2 +- .../Asset/AssetActions/Compute/FormComputeDataset.tsx | 5 ----- src/components/Publish/Metadata/index.tsx | 7 ------- src/components/Publish/Services/index.tsx | 7 ------- 4 files changed, 1 insertion(+), 20 deletions(-) diff --git a/content/publish/form.json b/content/publish/form.json index 6738fc12b..2d1b1b92e 100644 --- a/content/publish/form.json +++ b/content/publish/form.json @@ -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 }, diff --git a/src/components/Asset/AssetActions/Compute/FormComputeDataset.tsx b/src/components/Asset/AssetActions/Compute/FormComputeDataset.tsx index a84e7af13..eb48c68d6 100644 --- a/src/components/Asset/AssetActions/Compute/FormComputeDataset.tsx +++ b/src/components/Asset/AssetActions/Compute/FormComputeDataset.tsx @@ -234,11 +234,6 @@ export default function FormStartCompute({ return (
- {content.form.data.map((field: FormFieldContent) => { return ( - {values.services[0].access === 'compute' && ( - - )} - {values.services[0].access === 'compute' && ( - - )} )}