diff --git a/src/views/system.js b/src/views/system.js index f031a208a..d992cf4ea 100644 --- a/src/views/system.js +++ b/src/views/system.js @@ -278,8 +278,11 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati if (name.indexOf('redis') === 0) { isRedis = true; var app = Client.getCachedAppSync(name.slice('redis:'.length)); - displayName = 'redis for '; - if (app) displayName += app.label || app.location || app.fqdn; + if (app) { + displayName = 'Redis for ' + (app.label || app.fqdn); + } else { + displayName = 'Redis for unknown app'; + } } return {