mirror of https://github.com/nicolargo/glances
[Web UI] Wrong value in filesystem plugin (issue #662)
parent
f219f3e130
commit
4b0cfe8001
|
@ -6,7 +6,7 @@
|
|||
<div class="table-row" ng-repeat="fs in statsFs.fileSystems | orderBy: 'mnt_point'">
|
||||
<div class="table-cell text-left">{{ fs.mountPoint }} ({{ fs.name }})</div>
|
||||
<div class="table-cell" ng-class="statsFs.getDecoration(fs.mountPoint, 'used')">
|
||||
{{ fs.size - fs.free | bytes }}
|
||||
{{ fs.used | bytes }}
|
||||
</div>
|
||||
<div class="table-cell">{{ fs.size | bytes }}</div>
|
||||
</div>
|
||||
|
|
|
@ -16,6 +16,7 @@ glancesApp.service('GlancesPluginFs', function() {
|
|||
'mountPoint': fsData['mnt_point'],
|
||||
'percent': fsData['percent'],
|
||||
'size': fsData['size'],
|
||||
'used': fsData['used'],
|
||||
'free': fsData['free']
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue