fix(next): admin panel UI not rendering custom upload components (#9925)
### What? Currently it is not possible to override the upload component. ### Why? The ability to override the upload component is missing from `renderDocumentSlots`. ### How? Adding a check to include the custom upload component if it is available. This issue is holding me back from releasing a payload plugin. Fixes #9591
This commit is contained in:
@@ -76,6 +76,7 @@ The following options are available:
|
||||
| **`edit.SaveDraftButton`** | Replace the default Save Draft Button with a Custom Component. [Drafts](../versions/drafts) must be enabled and autosave must be disabled. |
|
||||
| **`edit.PublishButton`** | Replace the default Publish Button with a Custom Component. [Drafts](../versions/drafts) must be enabled. |
|
||||
| **`edit.PreviewButton`** | Replace the default Preview Button with a Custom Component. [Preview](#preview) must be enabled. |
|
||||
| **`edit.Upload`** | Replace the default Upload component with a Custom Component. [Upload](../upload/overview) must be enabled. |
|
||||
| **`views`** | Override or create new views within the Admin Panel. [More details](./views). |
|
||||
|
||||
<Banner type="success">
|
||||
|
||||
Reference in New Issue
Block a user