diff --git a/cfgov/unprocessed/apps/paying-for-college/js/disclosures/dispatchers/get-api-values.js b/cfgov/unprocessed/apps/paying-for-college/js/disclosures/dispatchers/get-api-values.js index 6da91a5d095..b5b203818d5 100755 --- a/cfgov/unprocessed/apps/paying-for-college/js/disclosures/dispatchers/get-api-values.js +++ b/cfgov/unprocessed/apps/paying-for-college/js/disclosures/dispatchers/get-api-values.js @@ -89,17 +89,10 @@ const getApiValues = { const warning = document .querySelector('[data-warning]') .getAttribute('data-warning'); - console.log('pre-warning', warning); - /*if (warning !== '' && typeof warning !== 'undefined') { - console.log('warning exists', warning); + if (warning !== '' && typeof warning !== 'undefined') { financialView.missingData(warning); - const deferred = {}; - deferred.promise = new Promise((resolve, reject) => { - deferred.resolve = resolve; - deferred.reject = reject; - }); - return deferred; - }*/ + return Promise.resolve(); + } return Promise.all([ this.constants().then((v) => v.json()), this.expenses().then((v) => v.json()),