Update naming of optional parameter

This commit is contained in:
Sam Chow 2018-05-07 12:47:29 -04:00
parent 84ad1d83e1
commit 7b28f745f7

View file

@ -71,10 +71,10 @@ angular.module('quay').factory('Config', ['Features', function(Features) {
return value;
};
config.getEnterpriseLogo = function(defaultValue) {
config.getEnterpriseLogo = function(opt_defaultValue) {
if (!config.ENTERPRISE_LOGO_URL) {
if (defaultValue) {
return defaultValue;
if (opt_defaultValue) {
return opt_defaultValue;
}
if (Features.BILLING) {