return no-op status service if billing is not enabled
This commit is contained in:
parent
5d88bccef7
commit
4715560e55
1 changed files with 3 additions and 1 deletions
|
@ -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';
|
||||
|
|
Reference in a new issue