diff --git a/src/views/system.js b/src/views/system.js index 6d7dfaff4..bfba98994 100644 --- a/src/views/system.js +++ b/src/views/system.js @@ -79,6 +79,10 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati var usageOther = disk.used; resetColors(disk.contents.length); + + // filter content if content entry is actually the volume mounted that disk + disk.contents = disk.contents.filter(function (content) { return content.path !== disk.mountpoint; }); + disk.contents.forEach(function (content) { content.color = getNextColor();