diff --git a/assets/js/services/modals.service.js b/assets/js/services/modals.service.js index b7dd5dd638..24c8e31df2 100644 --- a/assets/js/services/modals.service.js +++ b/assets/js/services/modals.service.js @@ -210,7 +210,9 @@ function modals ($rootScope, $state, $uibModal, $ocLazyLoad, MyWallet) { endTime () { return endTime; }, frequency () { return frequency; }, mediums () { - return quote.getPaymentMediums().then(mediums => mediums); + if (quote) { + return quote.getPaymentMediums().then(mediums => mediums); + } } } });