Skip to content

Commit

Permalink
better handling of default value for showPendingRetry
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroservienti committed Jul 25, 2019
1 parent c7fe341 commit 17f50a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ServicePulse.Host/app/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
angular.module('sc')
.value('$jquery', $)
.constant('version', window.defaultConfig.version)
.constant('showPendingRetry', window.defaultConfig.showPendingRetry)
.constant('showPendingRetry', (window.defaultConfig.showPendingRetry || false))
.constant('scConfig', window.defaultConfig);

angular.module('sc').config(['$locationProvider', function ($locationProvider) {
$locationProvider.hashPrefix('');
}]);

}(window, window.angular, window.jQuery));
}(window, window.angular, window.jQuery));

0 comments on commit 17f50a6

Please sign in to comment.