Skip to content

Commit 2ce6e13

Browse files
fix(storage-uploadthing): hide key field from filters and columns (#14004)
Fixes #13992 Hides the key field from filters and columns for the uploadthing plugin.
1 parent 48e9576 commit 2ce6e13

File tree

1 file changed

+3
-0
lines changed
  • packages/storage-uploadthing/src

1 file changed

+3
-0
lines changed

packages/storage-uploadthing/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ function uploadthingInternal(options: UploadthingStorageOptions): Adapter {
145145
name: '_key',
146146
type: 'text',
147147
admin: {
148+
disableBulkEdit: true,
149+
disableListColumn: true,
150+
disableListFilter: true,
148151
hidden: true,
149152
},
150153
},

0 commit comments

Comments
 (0)