Skip to content

Commit 5df4e2e

Browse files
authored
FE-1955 fix query perf links (supabase#39622)
fix
1 parent 3eb7da7 commit 5df4e2e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/studio/components/interfaces/Home/AdvisorWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export const AdvisorWidget = () => {
269269
},
270270
}}
271271
>
272-
<Link href={`/project/${projectRef}/advisors/query-performance`} />
272+
<Link href={`/project/${projectRef}/reports/query-performance`} />
273273
</ButtonTooltip>
274274
</CardHeader>
275275
<CardContent className="!p-0 flex-1 overflow-y-auto">

apps/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export const generateDatabaseMenu = (
180180
{
181181
name: 'Query Performance',
182182
key: 'query-performance',
183-
url: `/project/${ref}/advisors/query-performance`,
183+
url: `/project/${ref}/reports/query-performance`,
184184
rightIcon: <ArrowUpRight strokeWidth={1} className="h-4 w-4" />,
185185
items: [],
186186
},

apps/studio/next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,12 @@ const nextConfig = {
305305
{
306306
permanent: true,
307307
source: '/project/:ref/query-performance',
308-
destination: '/project/:ref/advisors/query-performance',
308+
destination: '/project/:ref/reports/query-performance',
309309
},
310310
{
311311
permanent: true,
312312
source: '/project/:ref/database/query-performance',
313-
destination: '/project/:ref/advisors/query-performance',
313+
destination: '/project/:ref/reports/query-performance',
314314
},
315315
{
316316
permanent: true,

0 commit comments

Comments
 (0)