The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: remove authorized app id from ui
Kang Ming6f46a9d619c0
diff --git a/studio/components/interfaces/Organization/OAuthApps/AuthorizedAppRow.tsx b/studio/components/interfaces/Organization/OAuthApps/AuthorizedAppRow.tsxindex 6f45bc8ca34..cad1e1fc667 100644--- a/studio/components/interfaces/Organization/OAuthApps/AuthorizedAppRow.tsx+++ b/studio/components/interfaces/Organization/OAuthApps/AuthorizedAppRow.tsx@@ -1,9 +1,7 @@import Table from 'components/to-be-cleaned/Table'import { AuthorizedApp } from 'data/oauth/authorized-apps-query'import dayjs from 'dayjs'-import { copyToClipboard } from 'lib/helpers'-import { useState } from 'react'-import { Button, IconCheck, IconClipboard, IconTrash } from 'ui'+import { Button, IconTrash } from 'ui'export interface AuthorizedAppRowProps {app: AuthorizedApp@@ -11,8 +9,6 @@ export interface AuthorizedAppRowProps {}const AuthorizedAppRow = ({ app, onSelectRevoke }: AuthorizedAppRowProps) => {- const [isCopied, setIsCopied] = useState(false)-return (<Table.tr><Table.td>@@ -24,21 +20,6 @@ const AuthorizedAppRow = ({ app, onSelectRevoke }: AuthorizedAppRowProps) => {</div></Table.td><Table.td>{app.name}</Table.td>- <Table.td>- <span className="font-mono truncate">{app.id}</span>- <Button- type="default"- icon={isCopied ? <IconCheck className="text-brand" strokeWidth={3} /> : <IconClipboard />}- className="ml-2 px-1"- onClick={() => {- copyToClipboard(app.id)- setIsCopied(true)- setTimeout(() => {- setIsCopied(false)- }, 3000)- }}- />- </Table.td><Table.td>{dayjs(app.authorized_at).format('DD/MM/YYYY, HH:mm:ss')}</Table.td><Table.td align="right"><Buttondiff --git a/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx b/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsxindex f976597b385..e91586f3899 100644--- a/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx+++ b/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx@@ -185,8 +185,7 @@ const OAuthApps = () => {head={[<Table.th key="icon" className="w-[30px]"></Table.th>,<Table.th key="name">Name</Table.th>,- <Table.th key="id">ID</Table.th>,- <Table.th key="client-secret">Authorized at</Table.th>,+ <Table.th key="authorized-at">Authorized at</Table.th>,<Table.th key="delete-action"></Table.th>,]}body={