diff --git a/src/components/inspector/RelationshipsPanel.tsx b/src/components/inspector/RelationshipsPanel.tsx index 125227a6..6567258e 100644 --- a/src/components/inspector/RelationshipsPanel.tsx +++ b/src/components/inspector/RelationshipsPanel.tsx @@ -113,7 +113,7 @@ function SearchDropdownWithCreate({ search, onSelect, query, entries, onCreateAn className="max-h-[160px] overflow-y-auto" /> )} - {showCreate && ( + {showCreate && onCreateAndOpen && (