[Web UI] Wrong value in filesystem plugin (issue #662)

pull/664/head
nicolargo 2015-08-29 21:14:48 +02:00
parent f219f3e130
commit 4b0cfe8001
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -16,6 +16,7 @@ glancesApp.service('GlancesPluginFs', function() {
'mountPoint': fsData['mnt_point'],
'percent': fsData['percent'],
'size': fsData['size'],
'used': fsData['used'],
'free': fsData['free']
};