better redis label

This commit is contained in:
Girish Ramakrishnan
2020-05-18 14:57:13 -07:00
parent 4bfe4079cc
commit 4dc034dd5e

View File

@@ -380,9 +380,9 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati
isRedis = true;
var app = Client.getCachedAppSync(name.slice('redis:'.length));
if (app) {
displayName = 'Redis for ' + (app.label || app.fqdn);
displayName = 'Redis (' + (app.label || app.fqdn) + ')';
} else {
displayName = 'Redis for unknown app';
displayName = 'Redis (unknown app)';
}
}