Skip to content

Commit

Permalink
fix: update terms and conditions link
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRohlf committed Jan 28, 2025
1 parent 25c6ae5 commit 734b691
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
9 changes: 1 addition & 8 deletions content/pages/startComputeDataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@
"options": [],
"sortOptions": false
}
],
"termsAndConditions": {
"name": "termsAndConditions",
"type": "checkbox",
"options": ["Terms and Conditions"],
"prefixes": ["I agree to the"],
"actions": ["/terms"]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,11 @@ export default function FormStartCompute({
isAccountConnected={isConnected}
/>
<Field
{...content.form.termsAndConditions}
name="termsAndConditions"
type="checkbox"
options={['Terms and Conditions']}
prefixes={['I agree to the']}
actions={[asset?.metadata?.license]}
component={Input}
disabled={isLoading}
onChange={() =>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Asset/AssetActions/Download/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ export default function Download({
type="checkbox"
options={['Terms and Conditions']}
prefixes={['I agree to the']}
actions={['/terms']}
actions={[asset?.metadata?.license]}
disabled={isLoading}
/>
</div>
Expand Down

0 comments on commit 734b691

Please sign in to comment.