diff --git a/src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.tsx b/src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.tsx index f553adead..7777f3071 100644 --- a/src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.tsx +++ b/src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.tsx @@ -1,4 +1,5 @@ import {useDispatch} from 'react-redux'; +import {useLocation} from 'react-router'; import cn from 'bem-cn-lite'; import DataTable, {Column} from '@gravity-ui/react-data-table'; @@ -17,6 +18,7 @@ import type {KeyValueRow} from '../../../../../types/api/query'; import {formatBytes, getSizeWithSignificantDigits} from '../../../../../utils/bytesParsers'; import {TableSkeleton} from '../../../../../components/TableSkeleton/TableSkeleton'; import {ResponseError} from '../../../../../components/Errors/ResponseError'; +import {LinkToSchemaObject} from '../../../../../components/LinkToSchemaObject/LinkToSchemaObject'; import './TenantStorage.scss'; @@ -28,6 +30,7 @@ interface TopTablesProps { export function TopTables({path}: TopTablesProps) { const dispatch = useDispatch(); + const location = useLocation(); const {autorefresh} = useTypedSelector((state) => state.schema); @@ -68,11 +71,15 @@ export function TopTables({path}: TopTablesProps) { name: 'Path', sortable: false, render: ({row}) => ( -
+ {row.Path} -
+ ), }, ];