graphs: add label to app tool tips

This commit is contained in:
Girish Ramakrishnan
2019-09-04 09:20:05 -07:00
parent bbd73d361a
commit bbf3043fc3

View File

@@ -127,7 +127,8 @@ angular.module('Application').controller('GraphsController', ['$scope', '$locati
const apps = Object.keys(result.apps).filter(function (appId) { return result.apps[appId] === disk.filesystem; });
apps.forEach(function (appId) {
disk.contains.push({ app: Client.getCachedAppSync(appId), id: appId, usage: 0 });
var app = Client.getCachedAppSync(appId);
disk.contains.push({ app: app, label: app.label || app.fqdn, id: appId, usage: 0 });
});
});