diff --git a/src/js/client.js b/src/js/client.js index 830b9fe29..0d0797035 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -1453,7 +1453,8 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout }); }; - Client.prototype._appPostProcess = function (app) { // calculate the icon paths + Client.prototype._appPostProcess = function (app) { + // calculate the icon paths app.iconUrl = app.iconUrl ? (this.apiOrigin + app.iconUrl + '?access_token=' + token + '&' + String(Math.random()).slice(2)) : null; // amend the post install confirm state @@ -1492,8 +1493,6 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout var tmp = {}; angular.copy(app, tmp); - this._appPostProcess(tmp); - // only replace if the app is already known if (found !== -1 && this._installedApps[found].fqdn === tmp.fqdn) { // app location has not changed angular.copy(tmp, this._installedApps[found]);