From 7b28f745f7fcb5cca498b21abc5f0e60601e161c Mon Sep 17 00:00:00 2001 From: Sam Chow Date: Mon, 7 May 2018 12:47:29 -0400 Subject: [PATCH] Update naming of optional parameter --- static/js/services/features-config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/services/features-config.js b/static/js/services/features-config.js index d4a68f32a..734b06963 100644 --- a/static/js/services/features-config.js +++ b/static/js/services/features-config.js @@ -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) {