File tree Expand file tree Collapse file tree 2 files changed +21
-13
lines changed
src/containers/Storage/StorageGroups/columns Expand file tree Collapse file tree 2 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 2222 }
2323 }
2424 }
25+
2526 & __pool-name-wrapper {
26- width : 230px ;
27+ overflow : hidden ;
28+
29+ white-space : nowrap ;
30+ text-overflow : ellipsis ;
31+ direction : rtl ;
32+ }
33+
34+ & __pool-name {
35+ unicode-bidi : plaintext ;
2736 }
2837
2938 & __group-id {
Original file line number Diff line number Diff line change @@ -33,18 +33,17 @@ const poolNameColumn: StorageGroupsColumn = {
3333 header : STORAGE_GROUPS_COLUMNS_TITLES . PoolName ,
3434 width : 250 ,
3535 render : ( { row} ) => {
36- const splitted = row . PoolName ?. split ( '/' ) ;
37- return (
38- splitted && (
39- < CellWithPopover
40- wrapperClassName = { b ( 'pool-name-wrapper' ) }
41- content = { row . PoolName }
42- placement = { [ 'right' ] }
43- behavior = { PopoverBehavior . Immediate }
44- >
45- { splitted [ splitted . length - 1 ] }
46- </ CellWithPopover >
47- )
36+ return row . PoolName ? (
37+ < CellWithPopover
38+ content = { row . PoolName }
39+ placement = { [ 'right' ] }
40+ behavior = { PopoverBehavior . Immediate }
41+ className = { b ( 'pool-name-wrapper' ) }
42+ >
43+ < span className = { b ( 'pool-name' ) } > { row . PoolName } </ span >
44+ </ CellWithPopover >
45+ ) : (
46+ EMPTY_DATA_PLACEHOLDER
4847 ) ;
4948 } ,
5049 align : DataTable . LEFT ,
You can’t perform that action at this time.
0 commit comments