mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
Merge pull request #17439 from supabase/chore/fix-fk-lookup
Fix sentry error on fk lookup
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -113,7 +113,7 @@ const ForeignKeySelector = ({
|
||||
}
|
||||
const table = find(tables, { id: tableId })
|
||||
if (table) {
|
||||
const primaryColumn = table.primary_keys[0].name
|
||||
const primaryColumn = table.primary_keys[0]?.name
|
||||
const firstColumn = table.columns?.length ? table.columns[0].name : undefined
|
||||
|
||||
setSelectedForeignKey({
|
||||
|
||||
Reference in new issue
Block a user