fix(storage-uploadthing): hide key field from filters and columns (#14004)
Fixes https://github.com/payloadcms/payload/issues/13992 Hides the key field from filters and columns for the uploadthing plugin.
This commit is contained in:
@@ -145,6 +145,9 @@ function uploadthingInternal(options: UploadthingStorageOptions): Adapter {
|
|||||||
name: '_key',
|
name: '_key',
|
||||||
type: 'text',
|
type: 'text',
|
||||||
admin: {
|
admin: {
|
||||||
|
disableBulkEdit: true,
|
||||||
|
disableListColumn: true,
|
||||||
|
disableListFilter: true,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user