v2: fix debug menu in production
This commit is contained in:
@@ -70,7 +70,8 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl, Social) {
|
||||
/**
|
||||
* Debug functions. Note that the server route for gems is only available if process.env.DEBUG=true
|
||||
*/
|
||||
if (_.contains(['development','test'],window.env.NODE_ENV)) {
|
||||
// enable debug menu to test v3 TODO remove
|
||||
if (true || _.contains(['development','test'],window.env.NODE_ENV)) {
|
||||
|
||||
$scope.setHealthLow = function(){
|
||||
User.set({
|
||||
|
||||
Reference in New Issue
Block a user