return no-op status service if billing is not enabled

This commit is contained in:
alecmerdler 2017-05-04 11:56:46 -07:00
parent 5d88bccef7
commit 4715560e55

View file

@ -3,7 +3,9 @@
*/
angular.module('quay').factory('StatusService', ['Features', function(Features) {
if (!Features.BILLING) {
return;
return {
getStatus: function(callback) {}
};
}
var STATUSPAGE_PAGE_ID = '8szqd6w4s277';