Skip to content

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

Small fix

Joshen Lime4e178fd9595
diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
index 471fc4322a8..84b6088cf01 100644
--- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
+++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
@@ -89,8 +89,8 @@ const TableEditorMenu: FC<Props> = ({
const filteredSchemaViews =
searchText.length === 0
- ? meta.schemas.views
- : meta.schemas.views.filter((view) => view.name.includes(searchText))
+ ? meta.schemas.views || []
+ : (meta.schemas.views || []).filter((view) => view.name.includes(searchText))
const [protectedSchemas, openSchemas] = partition(schemas, (schema) =>
meta.excludedSchemas.includes(schema?.name ?? '')
diff --git a/studio/stores/pgmeta/MetaStore.ts b/studio/stores/pgmeta/MetaStore.ts
index 05f9e61dec8..5694dd35d64 100644
--- a/studio/stores/pgmeta/MetaStore.ts
+++ b/studio/stores/pgmeta/MetaStore.ts
@@ -413,7 +413,7 @@ export default class MetaStore implements IMetaStore {
this.rootStore.ui.setNotification({
id: toastId,
category: 'success',
- message: `Successfully created column ${column.name}`,
+ message: `Successfully created column "${column.name}"`,
})
} catch (error: any) {
this.rootStore.ui.setNotification({