mirror of
https://github.com/directus/directus.git
synced 2026-02-04 03:05:05 -05:00
Clean up field type watcher in local store
This commit is contained in:
@@ -888,11 +888,9 @@ function initLocalStore(collection: string, field: string, type: typeof localTyp
|
||||
break;
|
||||
case 'boolean':
|
||||
state.fieldData.meta.special = ['boolean'];
|
||||
state.fieldData.schema.is_nullable = false;
|
||||
state.fieldData.schema.default_value = false;
|
||||
state.fieldData.schema.is_nullable = false;
|
||||
break;
|
||||
default:
|
||||
state.fieldData.schema.default_value = undefined;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user