@@ -14,7 +14,7 @@ import { Alert, AlertIcon, Button, DataTable, Result, Skeleton } from '@redpanda
1414import { useQuery } from '@tanstack/react-query' ;
1515import { SkipIcon } from 'components/icons' ;
1616import { config } from 'config' ;
17- import { useMemo } from 'react' ;
17+ import { useEffect , useMemo } from 'react' ;
1818
1919import {
2020 Quota_EntityType ,
@@ -23,6 +23,7 @@ import {
2323} from '../../../protogen/redpanda/api/dataplane/v1/quota_pb' ;
2424import { listQuotas } from '../../../protogen/redpanda/api/dataplane/v1/quota-QuotaService_connectquery' ;
2525import type { QuotaResponse , QuotaResponseSetting } from '../../../state/rest-interfaces' ;
26+ import { uiState } from '../../../state/ui-state' ;
2627import { InfoText } from '../../../utils/tsx-utils' ;
2728import { prettyBytes , prettyNumber } from '../../../utils/utils' ;
2829import PageContent from '../../misc/page-content' ;
@@ -98,6 +99,12 @@ const useQuotasQuery = () => {
9899const QuotasList = ( ) => {
99100 const { data, error, isLoading } = useQuotasQuery ( ) ;
100101
102+ // Set page title and breadcrumbs
103+ useEffect ( ( ) => {
104+ uiState . pageBreadcrumbs = [ { title : 'Quotas' , linkTo : '/quotas' } ] ;
105+ uiState . pageTitle = 'Quotas' ;
106+ } , [ ] ) ;
107+
101108 const quotasData = useMemo ( ( ) => {
102109 if ( ! data ?. items ) {
103110 return [ ] ;
0 commit comments