mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
Fixed availability display
This commit is contained in:
parent
4af0f9ed8d
commit
36e5296ea6
1 changed files with 1 additions and 4 deletions
|
|
@ -346,10 +346,7 @@ $(document).ready(function() {
|
|||
className: 'text-center',
|
||||
render: function(data, type, row) {
|
||||
if(type === 'display' || type === 'filter') {
|
||||
if(row.availability != "")
|
||||
return Math.round(row.availability) + "%";
|
||||
else
|
||||
return "";
|
||||
return Math.round(row.availability) + " %";
|
||||
}
|
||||
|
||||
// The raw data must be returned here for sorting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue