Skip to content

Commit da758ba

Browse files
authored
site: fix quota_allowance == 0 bug (#5108)
1 parent 894953d commit da758ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/GroupsPage/SettingsGroupPageView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type FormData = {
2727

2828
const validationSchema = Yup.object({
2929
name: nameValidator("Name"),
30-
quota_allowance: Yup.number().required().positive().integer(),
30+
quota_allowance: Yup.number().required().min(0).integer(),
3131
})
3232

3333
const UpdateGroupForm: React.FC<{

0 commit comments

Comments
 (0)