From e889e8d9820ded07053573329cfcbd865a8939d8 Mon Sep 17 00:00:00 2001 From: Xin Hao Zhang Date: Wed, 27 Nov 2024 17:00:03 +0000 Subject: [PATCH] ui: remove remaining links to old db pages In the plan details of the sql statement details page we had a remaining link to the old db page. At this time we cannot link to the new pages since the sql statement plan details api does not return the id of the db or table it belongs to. Epic: none Fixes: #134581 Release note (ui change): Link in plan details page to legacy table page has been removed. --- .../src/statementDetails/planDetails/plansTable.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pkg/ui/workspaces/cluster-ui/src/statementDetails/planDetails/plansTable.tsx b/pkg/ui/workspaces/cluster-ui/src/statementDetails/planDetails/plansTable.tsx index e8818b5d0a93..4970f3268595 100644 --- a/pkg/ui/workspaces/cluster-ui/src/statementDetails/planDetails/plansTable.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/statementDetails/planDetails/plansTable.tsx @@ -25,7 +25,6 @@ import { Count, intersperse, EncodeDatabaseTableIndexUri, - EncodeDatabaseTableUri, } from "../../util"; import styles from "./plansTable.module.scss"; @@ -304,13 +303,7 @@ export function formatIndexes(indexes: string[], database: string): ReactNode { return ( {newLine} - - {table} - - : {indexesList} + {table}: {indexesList} ); });