diff --git a/ui/src/fetch/index.ts b/ui/src/fetch/index.ts index 2ee0e32..d7ca1d2 100644 --- a/ui/src/fetch/index.ts +++ b/ui/src/fetch/index.ts @@ -106,7 +106,7 @@ export interface RuleUsage { export interface DashboardUsage { id: string; serie: string; - name: string; + title: string; url: string; } diff --git a/ui/src/pages/metrics/detail.tsx b/ui/src/pages/metrics/detail.tsx index 893652e..7d4236c 100644 --- a/ui/src/pages/metrics/detail.tsx +++ b/ui/src/pages/metrics/detail.tsx @@ -277,16 +277,15 @@ const DashboardTable: React.FC = ({ dashboards, currentPage - Name + Name {dashboards?.data?.map((dashboard, index) => ( - {dashboard.id} - - {dashboard.name} + + {dashboard.title}