mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 08:36:01 +00:00
fix entity form fields regression
This commit is contained in:
@@ -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?.();
|
||||
|
||||
Reference in New Issue
Block a user