merge v0.23.0-rc changes

This commit is contained in:
Gani Georgiev
2024-09-29 19:23:19 +03:00
parent ad92992324
commit 844f18cac3
753 changed files with 85141 additions and 63396 deletions
@@ -73,9 +73,9 @@
deletedFieldNames.push(old.name + ".*");
} else {
// add only deleted fields
const schema = Array.isArray(old.schema) ? old.schema : [];
for (const field of schema) {
if (!CommonHelper.findByKey(imported.schema, "id", field.id)) {
const fields = Array.isArray(old.fields) ? old.fields : [];
for (const field of fields) {
if (!CommonHelper.findByKey(imported.fields, "id", field.id)) {
deletedFieldNames.push(`${old.name}.${field.name} (${field.id})`);
}
}
@@ -86,11 +86,11 @@
if (deletedFieldNames.length) {
confirm(
`Do you really want to delete the following collection fields and their related records data:\n- ${deletedFieldNames.join(
"\n- "
"\n- ",
)}`,
() => {
submit();
}
},
);
} else {
submit();