fix(live-preview): properly handles uploads and hasOne monomorphic relationships

This commit is contained in:
Jacob Fletcher
2023-10-17 16:18:35 -04:00
parent ebd5e6ae8f
commit 20cde242fb
3 changed files with 40 additions and 30 deletions

View File

@@ -5,6 +5,7 @@ export const Media: CollectionConfig = {
upload: true,
access: {
read: () => true,
create: () => true,
},
fields: [
{