Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix replication publications list

Joshen Lim33e38b34ff7f
diff --git a/studio/components/interfaces/Database/Publications/PublicationsList.tsx b/studio/components/interfaces/Database/Publications/PublicationsList.tsx
index 39fc79645e7..5ae98f38a9a 100644
--- a/studio/components/interfaces/Database/Publications/PublicationsList.tsx
+++ b/studio/components/interfaces/Database/Publications/PublicationsList.tsx
@@ -123,7 +123,9 @@ const PublicationsList: FC<Props> = ({ onSelectPublication = () => {} }) => {
size="tiny"
checked={x[event.key]}
disabled={!canUpdatePublications}
- onChange={() => toggleListenEvent(x, 'insert', x[event.key])}
+ onChange={() =>
+ toggleListenEvent(x, event.event.toLowerCase(), x[event.key])
+ }
/>
</div>
</Table.td>