diff --git a/dashboard/src/views/system.html b/dashboard/src/views/system.html index 2a8494598..c25b8f965 100644 --- a/dashboard/src/views/system.html +++ b/dashboard/src/views/system.html @@ -122,13 +122,13 @@
  {{ content.path }} (Old Backups) - {{ content.label || content.id }} - {{ content.id }} + {{ content.label }} + {{ content.label }} - {{ content.app.label || content.app.fqdn }} + {{ content.label }} {{ 'system.diskUsage.uninstalledApp' | tr }} - {{ content.volume.name }} + {{ content.label }} {{ content.usage | prettyDiskSize }}
diff --git a/dashboard/src/views/system.js b/dashboard/src/views/system.js index e4c5c76ab..ac9bc5738 100644 --- a/dashboard/src/views/system.js +++ b/dashboard/src/views/system.js @@ -96,11 +96,16 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati if (content.type === 'app') { content.app = Client.getInstalledAppsByAppId()[content.id]; + content.label = content.app.label || content.app.fqdn; if (!content.app) content.uninstalled = true; } else if (content.type === 'volume') { content.volume = $scope.volumesById[content.id]; + content.label = content.volume.name; } + // ensure a label for ui + content.label = content.label || content.id; + usageOther -= content.usage; });