mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 11:12:20 +08:00
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:
parent
40999ed22e
commit
dc309cbab5
@ -371,7 +371,7 @@ export const tableColumnSettings = new SchemaSettings({
|
|||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
removeParentsIfNoChildren: true,
|
removeParentsIfNoChildren: false,
|
||||||
confirm: {
|
confirm: {
|
||||||
title: t('Delete field'),
|
title: t('Delete field'),
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user