@@ -93,14 +93,11 @@ export function Tablet() {
9393 ) ;
9494 } , [ dispatch , queryDatabase , id , tabletType ] ) ;
9595
96- const { Leader, Type } = tablet ;
96+ const { Leader} = tablet ;
9797 const metaItems : string [ ] = [ ] ;
9898 if ( database ) {
9999 metaItems . push ( `${ i18n ( 'tablet.meta-database' ) } : ${ database } ` ) ;
100100 }
101- if ( Type ) {
102- metaItems . push ( Type ) ;
103- }
104101 if ( Leader === false ) {
105102 metaItems . push ( i18n ( 'tablet.meta-follower' ) . toUpperCase ( ) ) ;
106103 }
@@ -135,7 +132,7 @@ function TabletContent({
135132 database ?: string ;
136133} ) {
137134 const isEmpty = ! Object . keys ( tablet ) . length ;
138- const { Overall, HiveId, FollowerId} = tablet ;
135+ const { Overall, HiveId, FollowerId, Type } = tablet ;
139136
140137 const tabletName = `${ id } ${ FollowerId ? `.${ FollowerId } ` : '' } ` ;
141138
@@ -146,11 +143,14 @@ function TabletContent({
146143 isEmpty = { isEmpty }
147144 >
148145 < Flex gap = { 5 } direction = "column" >
149- < EntityPageTitle
150- entityName = { i18n ( 'tablet.header' ) }
151- status = { Overall ?? EFlag . Grey }
152- id = { tabletName }
153- />
146+ < Flex gap = { 2 } direction = "column" >
147+ < EntityPageTitle
148+ entityName = { i18n ( 'tablet.header' ) }
149+ status = { Overall ?? EFlag . Grey }
150+ id = { tabletName }
151+ />
152+ { Type && < div className = { b ( 'tablet-type' ) } > { Type } </ div > }
153+ </ Flex >
154154 < TabletControls tablet = { tablet } />
155155 < TabletInfo tablet = { tablet } />
156156 </ Flex >
0 commit comments