Skip to content

Commit

Permalink
ui: remove remaining links to old db pages
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
xinhaoz committed Dec 11, 2024
1 parent 5cb78dd commit e889e8d
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
Count,
intersperse,
EncodeDatabaseTableIndexUri,
EncodeDatabaseTableUri,
} from "../../util";

import styles from "./plansTable.module.scss";
Expand Down Expand Up @@ -304,13 +303,7 @@ export function formatIndexes(indexes: string[], database: string): ReactNode {
return (
<span key={table}>
{newLine}
<Link
className={cx("bold-link")}
to={EncodeDatabaseTableUri(database, table)}
>
{table}
</Link>
: {indexesList}
{table}: {indexesList}
</span>
);
});
Expand Down

0 comments on commit e889e8d

Please sign in to comment.