diff --git a/src/frontend/src/pages/part/pricing/PricingOverviewPanel.tsx b/src/frontend/src/pages/part/pricing/PricingOverviewPanel.tsx index 5f642381cf..c16bba7760 100644 --- a/src/frontend/src/pages/part/pricing/PricingOverviewPanel.tsx +++ b/src/frontend/src/pages/part/pricing/PricingOverviewPanel.tsx @@ -1,5 +1,13 @@ import { t } from '@lingui/macro'; -import { Alert, Group, Paper, SimpleGrid, Stack, Text } from '@mantine/core'; +import { + Alert, + Anchor, + Group, + Paper, + SimpleGrid, + Stack, + Text +} from '@mantine/core'; import { IconBuildingWarehouse, IconChartDonut, @@ -50,12 +58,21 @@ export default function PricingOverviewPanel({ accessor: 'title', title: t`Pricing Category`, render: (record: PricingOverviewEntry) => { + const is_link = record.name !== panelOptions.overall; return ( {record.icon} - doNavigation(record.name)}> - {record.title} - + {is_link ? ( + doNavigation(record.name)} + component={Text} + > + {record.title} + + ) : ( + {record.title} + )} ); }