diff --git a/src/js/client.js b/src/js/client.js index 375af9025..2254223c6 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -1996,6 +1996,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout }; Client.prototype.refreshInstalledApps = function (callback) { + callback = callback || function (error) { if (error) console.error(error); }; var that = this; this.getApps(function (error, apps) {