Skip to content

Commit 389cd7d

Browse files
authored
fix disappearing ops/sec
1 parent 193c374 commit 389cd7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/static/js/ceph.dash.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,18 +363,21 @@ $(function () {
363363
// update current throughput values
364364
if( typeof(writeOpsPerSec) == 'undefined' && typeof(readOpsPerSec) == 'undefined' ){
365365
$("#operations_per_second").html(opsPerSec);
366+
$("#ops_container").show();
366367
} else{
367368
$("#ops_container").hide();
368369
}
369370

370371
if( typeof(writeOpsPerSec) != 'undefined'){
371372
$("#write_operations_per_second").html(writeOpsPerSec);
373+
$("#write_ops_container").show();
372374
} else{
373375
$("#write_ops_container").hide();
374376
}
375377

376378
if( typeof(readOpsPerSec) != 'undefined'){
377379
$("#read_operations_per_second").html(readOpsPerSec);
380+
$("#read_ops_container").show();
378381
} else{
379382
$("#read_ops_container").hide();
380383
}

0 commit comments

Comments
 (0)