Skip to content

Commit

Permalink
fix: fix create table with reference field
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Jan 13, 2025
1 parent 0b738ac commit e41a7e4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
queryFn: async () => {
return dataService.table.getTables({})
},
queryKey: ["getForeignTables", $table.baseId],
enabled: !!$table?.baseId,
queryKey: ["getForeignTables", $table?.baseId],
})
$: open && $getForeignTables.refetch()
Expand Down

0 comments on commit e41a7e4

Please sign in to comment.