From 41c0f1a686b27da2fa117be2be245ee75a914a09 Mon Sep 17 00:00:00 2001 From: "Laurie T. Malau" Date: Tue, 25 Oct 2022 13:44:56 +0000 Subject: [PATCH] [usage] Personal usage page --- components/dashboard/src/components/UsageView.tsx | 4 +++- components/dashboard/src/settings/settings-menu.ts | 9 +++++++++ components/dashboard/src/settings/settings.routes.ts | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/components/dashboard/src/components/UsageView.tsx b/components/dashboard/src/components/UsageView.tsx index aa97f63764435d..9e11170f8d729e 100644 --- a/components/dashboard/src/components/UsageView.tsx +++ b/components/dashboard/src/components/UsageView.tsx @@ -141,10 +141,12 @@ function UsageView({ attributionId }: UsageViewProps) { const currentPaginatedResults = usagePage?.usageEntriesList.filter((u) => u.kind === "workspaceinstance") ?? []; + const headerTitle = attributionId.kind === "team" ? "Team Usage" : "Personal Usage"; + return ( <>