Skip to content

Commit

Permalink
fix: prevent deletion of entire association field when removing the l…
Browse files Browse the repository at this point in the history
…ast 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>
  • Loading branch information
Katherine and chenos committed May 30, 2024
1 parent 40999ed commit dc309cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export const tableColumnSettings = new SchemaSettings({
const { t } = useTranslation();

return {
removeParentsIfNoChildren: true,
removeParentsIfNoChildren: false,
confirm: {
title: t('Delete field'),
},
Expand Down

0 comments on commit dc309cb

Please sign in to comment.