@@ -63,12 +63,12 @@ export function Tablet() {
6363
6464 const { id} = useParams < { id : string } > ( ) ;
6565
66- const [ { database : queryDatabase , clusterName : queryClusterName } ] =
66+ const [ { database : queryDatabase , clusterName : queryClusterName , followerId : queryFollowerId } ] =
6767 useQueryParams ( tabletPageQueryParams ) ;
6868
6969 const [ autoRefreshInterval ] = useAutoRefreshInterval ( ) ;
7070 const { currentData, isFetching, error} = tabletApi . useGetTabletQuery (
71- { id, database : queryDatabase ?? undefined } ,
71+ { id, database : queryDatabase ?? undefined , followerId : queryFollowerId ?? undefined } ,
7272 { pollingInterval : autoRefreshInterval } ,
7373 ) ;
7474
@@ -131,7 +131,9 @@ function TabletContent({
131131 history : ITabletPreparedHistoryItem [ ] ;
132132} ) {
133133 const isEmpty = ! Object . keys ( tablet ) . length ;
134- const { Overall, HiveId} = tablet ;
134+ const { Overall, HiveId, FollowerId} = tablet ;
135+
136+ const tabletName = `${ id } ${ FollowerId ? `.${ FollowerId } ` : '' } ` ;
135137
136138 return (
137139 < EmptyStateWrapper
@@ -143,7 +145,7 @@ function TabletContent({
143145 < EntityPageTitle
144146 entityName = { i18n ( 'tablet.header' ) }
145147 status = { Overall ?? EFlag . Grey }
146- id = { id }
148+ id = { tabletName }
147149 />
148150 < TabletControls tablet = { tablet } />
149151 < TabletInfo tablet = { tablet } />
0 commit comments