mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Add check for saveNodePositions (#29471)
* Add check for saveNodePositions * Fix https://supabase.sentry.io/issues/5389802889/?project=5459134&query=is%3Aunresolved&referrer=issue-stream&sort=freq&statsPeriod=14d&stream_index=10 * Update whitelist for https://supabase.sentry.io/issues/5856752960/?project=5459134&query=is%3Aunresolved&referrer=issue-stream&sort=freq&statsPeriod=14d&stream_index=5 * Update whitelist for https://supabase.sentry.io/issues/5759316461/?project=5459134&query=is%3Aunresolved&referrer=issue-stream&sort=date&statsPeriod=7d&stream_index=21 * Update whitelist for https://supabase.sentry.io/issues/5588800911/?project=5459134&query=is%3Aunresolved&referrer=issue-stream&sort=date&statsPeriod=7d&stream_index=11
This commit is contained in:
1 parent
2ea86eb8ba
commit
d0cbb045d9
3 files changed
+14
-7
No files matched your search
@@ -84,10 +84,12 @@ export const SchemaGraph = () => {
|
||||
if (schema === undefined) return console.error('Schema is required')
|
||||
|
||||
const nodes = reactFlowInstance.getNodes()
|
||||
const nodesPositionData = nodes.reduce((a, b) => {
|
||||
return { ...a, [b.id]: b.position }
|
||||
}, {})
|
||||
setStoredPositions(nodesPositionData)
|
||||
if (nodes.length > 0) {
|
||||
const nodesPositionData = nodes.reduce((a, b) => {
|
||||
return { ...a, [b.id]: b.position }
|
||||
}, {})
|
||||
setStoredPositions(nodesPositionData)
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@@ -12,9 +12,11 @@ const FunctionsNav = ({ item }: any) => {
|
||||
type="underlined"
|
||||
size="medium"
|
||||
activeId={!activeRoute ? 'metrics' : activeRoute}
|
||||
onChange={(e: string) =>
|
||||
router.push(`/project/${ref}/functions/${item.slug}/${e === 'metrics' ? '' : e}`)
|
||||
}
|
||||
onChange={(e: string) => {
|
||||
if (item.slug) {
|
||||
router.push(`/project/${ref}/functions/${item.slug}/${e === 'metrics' ? '' : e}`)
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Tabs.Panel id="details" label="Details" />
|
||||
<Tabs.Panel id="metrics" label="Metrics" />
|
||||
|
||||
@@ -12,6 +12,9 @@ const WHITELIST_ERRORS = [
|
||||
'The following organization members have reached their maximum limits for the number of active free projects',
|
||||
'db_pass must be longer than or equal to 4 characters',
|
||||
'There are overdue invoices in the organization(s)',
|
||||
'name should not contain a . string',
|
||||
'Project creation in the Supabase dashboard is disabled for this Vercel-managed organization.',
|
||||
'Your account, which is handled by the Fly Supabase extension, cannot access this endpoint.',
|
||||
]
|
||||
|
||||
export type DbInstanceSize = components['schemas']['DesiredInstanceSize']
|
||||
|
||||
Reference in new issue
Block a user