diff --git a/gui/default/index.html b/gui/default/index.html index f623682f4..033d752f6 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -496,7 +496,12 @@  Local State (Total) - {{localStateTotal.files | alwaysNumber}} items, ~{{localStateTotal.bytes | binary}}B + + +  {{localStateTotal.files | alwaysNumber}}  +  {{localStateTotal.directories| alwaysNumber}}  +  ~{{localStateTotal.bytes | binary}}B +  RAM Utilization diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 8be48d6e5..c31b665a8 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -79,6 +79,7 @@ angular.module('syncthing.core') $scope.localStateTotal = { bytes: 0, + directories: 0, files: 0 }; @@ -448,12 +449,14 @@ angular.module('syncthing.core') function recalcLocalStateTotal () { $scope.localStateTotal = { bytes: 0, + directories: 0, files: 0 }; for (var f in $scope.model) { $scope.localStateTotal.bytes += $scope.model[f].localBytes; $scope.localStateTotal.files += $scope.model[f].localFiles; + $scope.localStateTotal.directories += $scope.model[f].localDirectories; } }