diff --git a/static/js/app.js b/static/js/app.js index e7f1554d1..02248862a 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -729,7 +729,7 @@ quayApp.directive('billingOptions', function () { }; $scope.getCreditImage = function(creditInfo) { - if (!creditInfo) { return 'credit.png'; } + if (!creditInfo || !creditInfo.type) { return 'credit.png'; } var kind = creditInfo.type.toLowerCase() || 'credit'; var supported = {