We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaefc2a commit bd79e1aCopy full SHA for bd79e1a
1 file changed
ui/src/components/view/InfoCard.vue
@@ -262,7 +262,8 @@
262
<a-progress
263
class="progress-bar"
264
size="small"
265
- :percent="Number(parseFloat(100.0 * parseFloat(resource.disksizeallocatedgb) / parseFloat(resource.disksizetotalgb)).toFixed(2))"
+ :percent="Number(parseFloat(100.0 * parseFloat(resource.disksizeallocatedgb) / (parseFloat(resource.disksizetotalgb) *
266
+ (parseFloat(resource.overprovisionfactor) || 1.0))).toFixed(2))"
267
:format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.disksizeallocatedgb')" />
268
</span>
269
</div>
0 commit comments