Prevent eventlog filter from crashing
This commit is contained in:
@@ -245,15 +245,19 @@ angular.module('Application').controller('ActivityController', ['$scope', '$loca
|
||||
|
||||
case ACTION_APP_LOGIN:
|
||||
var app = Client.getCachedAppSync(data.appId);
|
||||
if (!app) return '';
|
||||
return 'App ' + app.fqdn + ' logged in';
|
||||
|
||||
case ACTION_APP_OOM:
|
||||
if (!data.app) return '';
|
||||
return data.app.manifest.title + ' ran out of memory';
|
||||
|
||||
case ACTION_APP_DOWN:
|
||||
if (!data.app) return '';
|
||||
return data.app.manifest.title + ' is down';
|
||||
|
||||
case ACTION_APP_UP:
|
||||
if (!data.app) return '';
|
||||
return data.app.manifest.title + ' is back online';
|
||||
|
||||
case ACTION_BACKUP_START:
|
||||
|
||||
Reference in New Issue
Block a user