fix entity form fields regression

This commit is contained in:
dswbx
2025-01-18 09:15:32 +01:00
parent f4dc26198b
commit ad61770ef4
3 changed files with 16 additions and 3 deletions

View File

@@ -225,7 +225,7 @@ const SelectType = ({
IconLeft={type.icon}
variant="ghost"
onClick={() => {
if (type.addable) {
if (type.addable !== false) {
onSelect(type.type);
} else {
type.onClick?.();