mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 08:56:46 -04:00
Merge pull request #12143 from supabase/fix/database-tables-page-breaking-if-no-realtime-publications
Fix database tables page breaking if supabase_realtime publication is missing
This commit is contained in:
@@ -166,7 +166,7 @@ const TableList: FC<Props> = ({
|
||||
<code className="text-sm">{x.size}</code>
|
||||
</Table.td>
|
||||
<Table.td className="hidden xl:table-cell text-center">
|
||||
{realtimePublication.tables.find((table: any) => table.id === x.id) && (
|
||||
{(realtimePublication?.tables ?? []).find((table: any) => table.id === x.id) && (
|
||||
<div className="flex justify-center">
|
||||
<IconCheck strokeWidth={2} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user