The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add icon to SQL query dropdown item
Joshen Limad682fd47eb4
diff --git a/studio/components/layouts/SQLEditorLayout/SQLEditorMenuOld.tsx b/studio/components/layouts/SQLEditorLayout/SQLEditorMenuOld.tsxindex 093b3a0076d..80065aa1fb9 100644--- a/studio/components/layouts/SQLEditorLayout/SQLEditorMenuOld.tsx+++ b/studio/components/layouts/SQLEditorLayout/SQLEditorMenuOld.tsx@@ -16,6 +16,7 @@ import {IconChevronDown,Loading,Modal,+ IconEdit2,} from '@supabase/ui'import { IS_PLATFORM } from 'lib/constants'@@ -69,7 +70,9 @@ const DropdownMenu = observer(({ tabInfo }: { tabInfo: any }) => {function renderMenu() {return (<>- <Dropdown.Item onClick={renameQuery}>Rename query</Dropdown.Item>+ <Dropdown.Item onClick={renameQuery} icon={<IconEdit2 size="tiny" />}>+ Rename query+ </Dropdown.Item><Divider light /><Dropdown.Item onClick={() => setDeleteModalOpen(true)} icon={<IconTrash size="tiny" />}>Remove query