fix(ui): bulk upload with locale param (#13865)

Fixes https://github.com/payloadcms/payload/issues/13859

Attaches locale to bulk upload post requests.
This commit is contained in:
Jarrod Flesch
2025-09-18 14:39:13 -04:00
committed by GitHub
parent 82aade2239
commit 667c4f1634

View File

@@ -287,6 +287,7 @@ export function FormsManagerProvider({ children }: FormsManagerProps) {
const actionURLWithParams = `${actionURL}${qs.stringify(
{
locale: code,
uploadEdits: form?.uploadEdits || undefined,
},
{
@@ -415,6 +416,7 @@ export function FormsManagerProvider({ children }: FormsManagerProps) {
closeModal,
drawerSlug,
onSuccess,
code,
],
)