File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/containers/Storage/StorageGroups Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import './StorageGroups.scss';
2828enum TableColumnsIds {
2929 PoolName = 'PoolName' ,
3030 Type = 'Type' ,
31+ ErasureSpecies = 'ErasureSpecies' ,
3132 GroupID = 'GroupID' ,
3233 Used = 'Used' ,
3334 Limit = 'Limit' ,
@@ -53,6 +54,7 @@ interface StorageGroupsProps {
5354const tableColumnsNames : Record < TableColumnsIdsValues , string > = {
5455 PoolName : 'Pool Name' ,
5556 Type : 'Type' ,
57+ ErasureSpecies : 'Erasure' ,
5658 GroupID : 'Group ID' ,
5759 Used : 'Used' ,
5860 Limit : 'Limit' ,
@@ -146,6 +148,12 @@ function StorageGroups({
146148 </ >
147149 ) ,
148150 } ,
151+ {
152+ name : TableColumnsIds . ErasureSpecies ,
153+ header : tableColumnsNames [ TableColumnsIds . ErasureSpecies ] ,
154+ render : ( { row} ) => ( row . ErasureSpecies ? row . ErasureSpecies : '-' ) ,
155+ align : DataTable . LEFT ,
156+ } ,
149157 {
150158 name : TableColumnsIds . Missing ,
151159 header : tableColumnsNames [ TableColumnsIds . Missing ] ,
You can’t perform that action at this time.
0 commit comments