File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,6 @@ export const getStorageNodes: FetchData<
6565 data : preparedResponse . nodes || [ ] ,
6666 found : preparedResponse . found || 0 ,
6767 total : preparedResponse . total || 0 ,
68- columnSettings : preparedResponse . columnSettings ,
68+ columnsSettings : preparedResponse . columnsSettings ,
6969 } ;
7070} ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export type StorageViewContext = {
99} ;
1010
1111export type StorageNodesPaginatedTableData = PaginatedTableData < PreparedStorageNode > & {
12- columnSettings ?: {
12+ columnsSettings ?: {
1313 maxSlotsPerDisk : number ;
1414 maxDisksPerNode : number ;
1515 } ;
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ export function useStorageColumnsSettings() {
1818
1919 const handleDataFetched = React . useCallback (
2020 ( data : StorageNodesPaginatedTableData ) => {
21- if ( data ?. columnSettings && ! pDiskWidth ) {
22- const { maxSlotsPerDisk, maxDisksPerNode} = data . columnSettings ;
21+ if ( data ?. columnsSettings && ! pDiskWidth ) {
22+ const { maxSlotsPerDisk, maxDisksPerNode} = data . columnsSettings ;
2323 const maxSlots = maxSlotsPerDisk || MAX_SLOTS_DEFAULT ;
2424 const maxDisks = maxDisksPerNode || MAX_SLOTS_DEFAULT ;
2525
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export interface PreparedStorageResponse {
107107 found : number | undefined ;
108108 total : number | undefined ;
109109 tableGroups ?: TableGroup [ ] ;
110- columnSettings ?: {
110+ columnsSettings ?: {
111111 maxSlotsPerDisk : number ;
112112 maxDisksPerNode : number ;
113113 } ;
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ export const prepareStorageNodesResponse = (data: TNodesInfo): PreparedStorageRe
298298 total : Number ( TotalNodes ) || preparedNodes ?. length ,
299299 found : Number ( FoundNodes ) ,
300300 tableGroups,
301- columnSettings : { maxSlotsPerDisk, maxDisksPerNode} ,
301+ columnsSettings : { maxSlotsPerDisk, maxDisksPerNode} ,
302302 } ;
303303} ;
304304
You can’t perform that action at this time.
0 commit comments