Skip to content

Commit b64b26b

Browse files
Fix bugs
1 parent 029f6f2 commit b64b26b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/components/VDiskPopup/VDiskPopup.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ const prepareVDiskData = (
134134
ReplicationSecondsRemaining,
135135
UnsyncedVDisks,
136136
AllocatedSize,
137+
AvailableSize,
137138
ReadThroughput,
138139
WriteThroughput,
139140
StoragePoolName,
@@ -257,6 +258,13 @@ const prepareVDiskData = (
257258
});
258259
}
259260

261+
if (Number(AvailableSize)) {
262+
vdiskData.push({
263+
name: vDiskPopupKeyset('label_available'),
264+
content: bytesToGB(AvailableSize),
265+
});
266+
}
267+
260268
if (Number(ReadThroughput)) {
261269
vdiskData.push({
262270
name: vDiskPopupKeyset('label_read'),

src/components/VDiskPopup/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"label_remaining": "Remaining",
1818
"label_unsync-vdisks": "UnsyncVDisks",
1919
"label_allocated": "Allocated",
20+
"label_available": "Available",
2021
"label_read": "Read",
2122
"label_write": "Write",
2223
"label_replication": "Replication",

0 commit comments

Comments
 (0)