fix: prevent deletion of entire association field when removing the last column in subtable (#4518)

* fix: prevent deletion of entire association field  when removing the last column in subtable

* fix: node version

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
This commit is contained in:
Katherine 2024-05-31 00:03:15 +08:00 committed by GitHub
parent 40999ed22e
commit dc309cbab5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -371,7 +371,7 @@ export const tableColumnSettings = new SchemaSettings({
const { t } = useTranslation();
return {
removeParentsIfNoChildren: true,
removeParentsIfNoChildren: false,
confirm: {
title: t('Delete field'),
},