diff --git a/src/js/index.js b/src/js/index.js index 1fd9fe214..a722827d7 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -428,7 +428,6 @@ app.filter('eventLogSource', ['Client', function (Client) { app.filter('eventLogDetails', function() { // NOTE: if you change this, the CLI tool (cloudron machine eventlog) probably needs fixing as well return function(eventLog) { - var source = eventLog.source; var data = eventLog.data; var errorMessage = data.errorMessage; var details; @@ -475,16 +474,16 @@ app.filter('eventLogDetails', function() { return 'App ' + data.appId + ' logged in'; case ACTION_APP_OOM: - return source.app.manifest.title + ' ran out of memory'; + return data.app.manifest.title + ' ran out of memory'; case ACTION_APP_DOWN: - return source.app.manifest.title + ' is down'; + return data.app.manifest.title + ' is down'; case ACTION_APP_UP: - return source.app.manifest.title + ' is back online'; + return data.app.manifest.title + ' is back online'; case ACTION_APP_TASK_CRASH: - return 'Apptask for app with id ' + source.appId + ' crashed'; + return 'Apptask for app with id ' + data.appId + ' crashed'; case ACTION_BACKUP_START: return 'Backup started';