Skip to content

Commit

Permalink
fix: renterd prune validation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Dec 11, 2023
1 parent ef4fcab commit 4eb4849
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/witty-dryers-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'renterd': minor
---

Fixed an issue with the prune sector roots setting validation.
7 changes: 1 addition & 6 deletions apps/renterd/contexts/config/fields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,7 @@ export function getFields({
</>
),
hidden: !isAutopilotEnabled || !showAdvanced,
validation:
isAutopilotEnabled && showAdvanced
? {
required: 'required',
}
: {},
validation: {},
},

// hosts
Expand Down

0 comments on commit 4eb4849

Please sign in to comment.