Remove redundant if condition

This commit is contained in:
Johannes Zellner
2018-03-14 20:10:48 +01:00
parent f8ad2fdc11
commit 5405338d20

View File

@@ -83,8 +83,6 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
// no sourceTarballUrl means we can't update here this is only from 1.0 on
// this will also handle the 'undecided' and 'free' plan, since the server does not send the url in this case
$('#setupSubscriptionModal').modal('show');
} else if ($scope.config.provider === 'caas') {
$('#updateModal').modal('show');
} else {
$('#updateModal').modal('show');
}