From f5d2c7890a90c7eb2a5bd66e8aa29ebf6aee647b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 10 Aug 2023 15:13:40 +0200 Subject: [PATCH] fix: Unable to create collection with no access permission --- app/components/InputSelectPermission.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/InputSelectPermission.tsx b/app/components/InputSelectPermission.tsx index cc307cdef..5f108bacc 100644 --- a/app/components/InputSelectPermission.tsx +++ b/app/components/InputSelectPermission.tsx @@ -18,7 +18,7 @@ export default function InputSelectPermission( const handleChange = React.useCallback( (value) => { if (value === "no_access") { - value = ""; + value = null; } onChange?.(value);