diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx index 383bbfeb6c9..be45acfe9c0 100644 --- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx +++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx @@ -31,6 +31,7 @@ import { ENTITY_TYPE } from 'data/entity-types/entity-type-constants' import { Entity } from 'data/entity-types/entity-type-query' import { useProjectContext } from '../ProjectLayout/ProjectContext' import InfiniteList from 'components/ui/InfiniteList' +import clsx from 'clsx' export interface TableEditorMenuProps { selectedSchema?: string @@ -305,7 +306,7 @@ const TableEditorMenu = ({ - +
+
{Object.entries(ENTITY_TYPE) .find(([, value]) => value === entity.type)?.[0]?.[0] ?.toUpperCase()}