Make callback optional for refreshInstalledApps()
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user