File tree Expand file tree Collapse file tree 3 files changed +133
-133
lines changed
Expand file tree Collapse file tree 3 files changed +133
-133
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export function Cell(props: CellProps) {
7575 path,
7676 collapsed,
7777 isAfterAttributes,
78- depth ,
78+ size ,
7979 } ,
8080 settings,
8181 yson,
@@ -118,8 +118,8 @@ export function Cell(props: CellProps) {
118118 isAfterAttributes = { isAfterAttributes }
119119 />
120120 { open && < OpenClose type = { open } yson = { yson } settings = { settings } /> }
121- { props . showContainerSize && depth !== undefined && (
122- < span className = { 'unipika' } > { i18n ( 'context_items-count' , { count : depth } ) } </ span >
121+ { props . showContainerSize && size !== undefined && (
122+ < span className = { 'unipika' } > { i18n ( 'context_items-count' , { count : size } ) } </ span >
123123 ) }
124124 { value !== undefined && (
125125 < Value
@@ -131,7 +131,7 @@ export function Cell(props: CellProps) {
131131 showFullText = { handleShowFullText }
132132 />
133133 ) }
134- { collapsed && depth === undefined && < span className = { 'unipika' } > ...</ span > }
134+ { collapsed && size === undefined && < span className = { 'unipika' } > ...</ span > }
135135 { close && < OpenClose type = { close } yson = { yson } settings = { settings } close /> }
136136 { hasDelimiter && < SlaveText text = { yson ? ';' : ',' } /> }
137137 </ div >
You can’t perform that action at this time.
0 commit comments