mirror of
https://github.com/strapi/strapi.git
synced 2025-12-30 00:37:24 +00:00
remove comment
This commit is contained in:
parent
f9123cfd92
commit
5a64455135
@ -510,7 +510,6 @@ const FormModal = () => {
|
||||
} else {
|
||||
// We cannot switch from collection type to single when the modal is making relations other than oneWay or manyWay
|
||||
if (canEditContentType(allDataSchema, modifiedData)) {
|
||||
// allDataSchema.contentType.schema.displayName
|
||||
onCloseModal();
|
||||
|
||||
if (modifiedData?.displayName !== allDataSchema?.contentType?.schema?.displayName) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user