If we don't have a dockerImage, we can't proceed with the update

This commit is contained in:
Johannes Zellner
2017-06-06 15:10:12 +02:00
parent 1126a0fc1e
commit c1ec7a06bf

View File

@@ -393,7 +393,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
};
$scope.showUpdate = function (app, updateManifest) {
if ($scope.$parent.currentSubscription.plan && $scope.$parent.currentSubscription.plan.id === 'free') {
if (!updateManifest.dockerImage) {
$('#setupSubscriptionModal').modal('show');
return;
}