mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-18 05:16:04 +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