Skip to content

Commit 10530e8

Browse files
committed
Forgoten file edit from commit 2c4479d
1 parent 603dec0 commit 10530e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/index.mako

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,11 +529,11 @@ function update_ui(data){
529529
$('#du-total').text(data.disk_usage.total);
530530
$('#du-inc').text(data.disk_usage.total.slice(0,-1));
531531
$('#du-used').text(data.disk_usage.used);
532-
$('#du-pct').text(data.disk_usage.pct);
532+
$('#du-pct').text(data.disk_usage.used_percent);
533533
if($('#new_vol_size').val() == '0'){
534534
$('#new_vol_size').val(data.disk_usage.total.slice(0,-1));
535535
}
536-
if (parseInt(data.disk_usage.pct) > 80){
536+
if (parseInt(data.disk_usage.used_percent) > 80){
537537
$('#storage_warning').show();
538538
}else{
539539
$('#storage_warning').hide();

0 commit comments

Comments
 (0)