Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/app/pages/dashboards/index.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import DBDashboardPage from '@/DBDashboardPage';
export default DBDashboardPage;
import DashboardsListPage from '@/DashboardsListPage';
export default DashboardsListPage;
13 changes: 12 additions & 1 deletion packages/app/src/DBDashboardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
} from 'react';
import dynamic from 'next/dynamic';
import Head from 'next/head';
import Link from 'next/link';
import { useRouter } from 'next/router';
import { formatRelative } from 'date-fns';
import produce from 'immer';
Expand All @@ -33,7 +34,9 @@ import {
} from '@hyperdx/common-utils/dist/types';
import {
ActionIcon,
Anchor,
Box,
Breadcrumbs,
Button,
Flex,
Group,
Expand Down Expand Up @@ -1062,7 +1065,15 @@ function DBDashboardPage({ presetConfig }: { presetConfig?: Dashboard }) {
</Flex>
</Paper>
)}
<Flex mt="xs" mb="md" justify="space-between" align="center">
<Breadcrumbs mb="xs" mt="xs" fz="sm">
<Anchor component={Link} href="/dashboards" fz="sm" c="dimmed">
Dashboards
</Anchor>
<Text fz="sm" c="dimmed">
{dashboard?.name ?? 'Untitled'}
</Text>
</Breadcrumbs>
<Flex mb="md" justify="space-between" align="center">
<DashboardName
key={`${dashboardHash}`}
name={dashboard?.name ?? ''}
Expand Down
Loading
Loading