From 5df4e2e4428ce01a70df9b6b852fabd0fc39c50a Mon Sep 17 00:00:00 2001
From: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date: Fri, 17 Oct 2025 16:15:15 +0200
Subject: [PATCH] FE-1955 fix query perf links (#39622)
fix
---
apps/studio/components/interfaces/Home/AdvisorWidget.tsx | 2 +-
.../components/layouts/DatabaseLayout/DatabaseMenu.utils.tsx | 2 +-
apps/studio/next.config.js | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/apps/studio/components/interfaces/Home/AdvisorWidget.tsx b/apps/studio/components/interfaces/Home/AdvisorWidget.tsx
index 23a45c29043..102ebdd4229 100644
--- a/apps/studio/components/interfaces/Home/AdvisorWidget.tsx
+++ b/apps/studio/components/interfaces/Home/AdvisorWidget.tsx
@@ -269,7 +269,7 @@ export const AdvisorWidget = () => {
},
}}
>
-
+
diff --git a/apps/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.tsx b/apps/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.tsx
index d551edcc0bd..e6e76113a18 100644
--- a/apps/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.tsx
+++ b/apps/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.tsx
@@ -180,7 +180,7 @@ export const generateDatabaseMenu = (
{
name: 'Query Performance',
key: 'query-performance',
- url: `/project/${ref}/advisors/query-performance`,
+ url: `/project/${ref}/reports/query-performance`,
rightIcon: ,
items: [],
},
diff --git a/apps/studio/next.config.js b/apps/studio/next.config.js
index abdaf93531c..f9f9e9e3c1f 100644
--- a/apps/studio/next.config.js
+++ b/apps/studio/next.config.js
@@ -305,12 +305,12 @@ const nextConfig = {
{
permanent: true,
source: '/project/:ref/query-performance',
- destination: '/project/:ref/advisors/query-performance',
+ destination: '/project/:ref/reports/query-performance',
},
{
permanent: true,
source: '/project/:ref/database/query-performance',
- destination: '/project/:ref/advisors/query-performance',
+ destination: '/project/:ref/reports/query-performance',
},
{
permanent: true,