mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Fix modal header display name so it keeps the old one
This commit is contained in:
parent
b9ffe9de46
commit
6867ca553e
@ -272,7 +272,11 @@ const FormModal = () => {
|
||||
|
||||
try {
|
||||
await checkFormValidity();
|
||||
const nextSearch = `modalType=chooseAttribute&forTarget=${state.forTarget}&targetUid=${uid}&headerDisplayName=${modifiedData.name}`;
|
||||
|
||||
const nextSearch = `modalType=chooseAttribute&forTarget=${
|
||||
state.forTarget
|
||||
}&targetUid=${uid}&headerDisplayName=${state.headerDisplayName ||
|
||||
modifiedData.name}`;
|
||||
|
||||
if (state.modalType === 'contentType') {
|
||||
// Create the content type schema
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user