remove comment

This commit is contained in:
Simone Taeggi 2022-11-18 17:23:35 +01:00
parent f9123cfd92
commit 5a64455135

View File

@ -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) {