fix: Unable to create collection with no access permission

This commit is contained in:
Tom Moor
2023-08-10 15:13:40 +02:00
parent 434812dbe3
commit f5d2c7890a

View File

@@ -18,7 +18,7 @@ export default function InputSelectPermission(
const handleChange = React.useCallback( const handleChange = React.useCallback(
(value) => { (value) => {
if (value === "no_access") { if (value === "no_access") {
value = ""; value = null;
} }
onChange?.(value); onChange?.(value);