Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(Coinify): check for quote before getting mediums
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Welber committed Feb 7, 2018
1 parent 1480808 commit b48262f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/js/services/modals.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
});
Expand Down

0 comments on commit b48262f

Please sign in to comment.