mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
fix(studio): boolean editor in table editor (#40947)
This commit is contained in:
1 parent
065e35fd83
commit
4804642b18
1 file changed
+1
-1
@@ -32,7 +32,7 @@ export const BooleanEditor = <TRow, TSummaryRow = unknown>({
|
||||
size="small"
|
||||
onBlur={onBlur}
|
||||
onChange={onChange}
|
||||
defaultValue={!!value ? value.toString() : 'null'}
|
||||
defaultValue={value === null || value === undefined ? 'null' : value.toString()}
|
||||
style={{ width: `${column.width}px` }}
|
||||
>
|
||||
<Select.Option value="true">TRUE</Select.Option>
|
||||
|
||||
Reference in new issue
Block a user