Copy the manifest because changes are made to it

Because of that, manifest verification fails (isNew property appears in manfiest)
This commit is contained in:
Girish Ramakrishnan
2015-08-03 21:17:58 -07:00
parent cc97654b23
commit 95cbec19af

View File

@@ -214,7 +214,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
AppStore.getManifest(app.appStoreId, function (error, manifest) {
if (error) return console.error(error);
$scope.appUpdate.manifest = manifest;
$scope.appUpdate.manifest = angular.copy(manifest);
// ensure we always operate on objects here
app.portBindings = app.portBindings || {};